代码
#include<stdio.h>
#define max 50
int main(){
char s[max],d[max];
scanf("%s",s);
int i = 0;
while(s[i]!='\0'){
int r = ((s[i] + 5) - 'a')%26;
d[i] = 'a' + r - 1;
i++;
}
return 0;
}
#include<stdio.h>
#define max 50
int main(){
char s[max],d[max];
scanf("%s",s);
int i = 0;
while(s[i]!='\0'){
int r = ((s[i] + 5) - 'a')%26;
d[i] = 'a' + r - 1;
i++;
}
return 0;
}