Sun Oct 22 2023 07:19:47 GMT+0000 (Coordinated Universal Time)
Saved by @yolobotoffender
#include <iostream> #include<cmath> #include<iomanip> #include<string> using namespace std; int main() { string data; getline(cin,data); int length=data.length(); for(int i=0; i<=length;i++){ cout<<data[length-i];} return 0; }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments