fork download
  1. #include<stdio.h>
  2.  
  3. int main() {
  4. char rot;
  5. scanf("%c", &rot); /* 1 */
  6. while (rot >= 'a' && rot <= 'z') {
  7. if ('a' <= rot && rot <= 'm')
  8. rot = rot+13;
  9. else if('n'<= rot && rot<='z')
  10. rot = rot-13;
  11. printf("%c\n", rot); /* 2 */
  12. scanf("%c", &rot); /* 3 */
  13. }
  14. return 0;
  15. }
  16. /* end */
  17.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
Standard output is empty