#include <iostream>
#include <cctype>
using namespace std;
int main()
{
char ch;
while((ch=cin.get())!='@')
{
if(isdigit(ch))
continue;
else if(islower(ch))
ch-='z'-'Z';
else if(isupper(ch))
ch+='z'-'Z';
cout<<ch;
}
system("pause");
return 0;
}
转载于:https://www.cnblogs.com/lynnycy/p/3451941.html