#include <stdio.h> #include <string.h> #define N 80 int main() { char c[N]; gets(c); //接收字符串 for(int i;c[i];i++){ if((c[i]>='a'&&c[i]<='y')||(c[i]>='A'&&c[i]<='Y')){ c[i]=c[i]+1; } else if(c[i]=='z') c[i]='a'; else if(c[i]=='Z') c[i]='A'; printf("%c",c[i]); } return 0; }