1
0

C5-11.c 282 B

123456789101112131415
  1. #include <stdio.h>
  2. int main()
  3. {char c;
  4. c=getchar();
  5. while(c!='\n')
  6. {if((c>='a' && c<='z') || (c>='A' && c<='Z'))
  7. { if(c>='W' && c<='Z' || c>='w' && c<='z') c=c-22;
  8. else c=c+4;
  9. }
  10. printf("%c",c);
  11. c=getchar();
  12. }
  13. printf("\n");
  14. return 0;
  15. }