Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
rstring
#include <iostream> #include <string> using namespace std; int main() { string a; string c; cout<<"Enter a string : "<<endl; getline(cin,a); int b=a.length(); for (int i=b;i>=0;i--) { c=c+a[i]; } cout<<"Reverse string is : "<<c<<endl; system("pause"); }
run
|
edit
|
history
|
help
0
matrix2
generate BinTree from sorted list
ReplaceGreaterSum in BST
HotelVec
The Menu
List add
a
4149 coj TL
MACRO
Weighted Index