#include <stdio.h>
int main()
{
char c1,c2,c3,c4,c5;
c1=getchar();
c2=getchar();
c3=getchar();
c4=getchar();
c5=getchar();
c1=c1+4;
c2=c2+4;
c3=c3+4;
c4=c4+4;
c5=c5+4;
putchar(c1);
putchar(c2);
putchar(c3);
putchar(c4);
putchar(c5);
putchar('\n');
return 0;
}
用getchar、putchar函数运行(感觉如果逐个输入字母,在编写代码时些许麻烦