64,637
社区成员
发帖
与我相关
我的任务
分享
#include <stdlib.h>
#include <iostream>
#include <string>
using namespace std;
main()
{
char c;
while(cin >>c)
{
if (c<'a' || c>'z')
{
cerr <<endl << "out of Rang Error! " <<endl;
}
else
{
c+=3;
if (c>'z')
c-=26;
cout << c << endl;
}
}
system("pause");
}