Advertisement
Guest User

Untitled

a guest
May 5th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int i;
  7.     char n[100];
  8.  
  9.     for(i=0; i<100; i++){
  10.         scanf("%c", &n[i]);
  11.     }
  12.  
  13.     for(i=500; i>=0; i--){
  14.         printf("%c", n[i]);
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement