- 698 名前:678 [2012/05/21(月) 03:52:08.79 BE:4277656297-2BP(0)]
- 一応友達のアドバイスもあって、
プログラムが出来ました。 ありがとうございました。 #include<stdio.h> int main(void) { int rot,loop; loop = 1; while(loop <=100) { scanf("%c",&rot); if('a'<=rot && rot<='m') rot = rot+13; printf("%c",rot+13); if('n'<= rot && rot<='z') rot = rot-13; printf("%c",rot-13); } return 0; }
|

|