#include<iostream.h>
void main()
{
char m,c[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m',
'n','o','p','q','r','s','t','u','v','w','x','y','z'};
cout<<"请输入一个字符:"<<endl;
cin>>m;
for(int i=0;i<26;i++)
{
if(m==*(c+i))
{
cout<<"转换后为:"<<*(c+(i+3)%26)<<endl;
break;
}
}
}//数组和指针都用到了