Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
problem_name_1
#include<iostream> using namespace std; int main(){ string name="This is reverse function"; cout<<name<<endl; int len=name.length(); cout<<len<<endl; string swp; for(int i=len-1;i>=0;i--){ swp+=name[i]; } cout<<"The reverse is : " <<swp; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Rounding float to nearest 1000
unordered graphs search
is_convertible
Check if a year is leap year or not
C++ out of ref
template specialization inheritance problem
Optional conversions
Graphs Iteration 2.1 Directed Graphs
DESim Example with Hash Table
BinaryGap, C++ - Find longest sequence of zeros in binary representation of an integer.
Please log in to post a comment.