1 #include <stdio.h>
2
3 int main(void)
4 {
5
char c;
6
7
while((c = getchar()) != '\n')
8
{
9
if((c >= 'a' && c <= 'z') ||( c >= 'A' && c <= 'Z'))
10
{
11
c = c + 4;
12
13
if((c >= 'z' && c <= 'z' + 4)||(c >= 'Z' && c<= 'Z' + 4))
14
c = c - 26;
15
}
16
printf("%c", c);
17
18
}
19
printf("\n");
20
21
return 0;
22 }
[此贴子已经被作者于2016-9-11 22:13编辑过]