Advertisement
noshin98

uva 458

Jul 5th, 2016
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<string.h>
  3. int main()
  4. {
  5.  
  6.     int l,i;
  7.     char s[1000];
  8.     while(gets(s))
  9.     {
  10.         l=strlen(s);
  11.         for(i=0;i<l;i++)
  12.  
  13.             printf("%c",s[i]-7);
  14.             printf("\n");
  15.  
  16.     }
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement