原文字母变该字母后第四个,V→Z,W→A
#include<stdio.h>
int main()
{ char s[100];
int i=0;
scanf("%s",s);
while(s[i]!='\0') {
if((s[i]>='A'&&s[i]<='V')||(s[i]>='a'&&s[i]<='v'))
s[i]+=4;
if((s[i]>'V'&&s[i]<='Z')||(s[i]>'v'&&s[i]<='z'))
s[i]-=22;
i++;
}
printf("%s",s);
return 0;
}