Guest User

Untitled

a guest
Apr 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostream>
  2. #include <algorithm>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. string s="Reverse";
  8. cout<<s<<endl;
  9. reverse(s.begin(),s.end());
  10. cout<<s<<endl;
  11. return 0;
  12. }
Add Comment
Please, Sign In to add comment