sparrow02

4

Dec 8th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include<string.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. string wyraz;
  8. cin>>wyraz;
  9. int dlugosc=wyraz.length();
  10. for(int i=dlugosc-1;i>=0;i--){
  11. cout<<wyraz[i];
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment