#includeusing namespace std;int main(){ char c; while((c=getchar())!='\n') // 括号错了, 导致c恒等于1 { if((c>='a'&&c<='z')||(c>='A'&&c<='Z')) { c=c+4; if((c>'Z'&&c<='Z'+4)||(c>'z'&&c<='z'+4))c=c-26; } cout< } cout< system("pause"); return 0;}