1. 要求 输入China 输出 Glmre
#include#include int main(){ char c ; c = getchar(); while(c!='\n'){ if((c>='a' && c<='z') || (c>='A'&& c<='Z')) { if(c>='W' && c<='Z' || c>='w' && c<='z') c= c-22 ; else c= c+ 4; }printf("%c",c); c = getchar(); } printf("\n"); return 0 ;}