文章
7
粉丝
404
获赞
10
访问
68.7k
答案已通过,Accepted
// talk is cheap, show my code:
#include<stdio.h>
#include<strings.h>
int main(){
char in[200]={0};
char x[200]={0};
gets(in);
//int n =strlen(in);
for (int i =0;i<200;i++){
if (in[i]>='a' && in[i]<='w'){
x[i] = in[i]+3;
}
else if (in[i]>='x' && in[i]<='z'){
x[i] = in[i]-23;
}
else if (in[i]>='A' && in[i]<='W'){
x[i] = in[i]+3;
}
else if (in[i]>='X' && in[i]<='Z'){
x...
登录后发布评论
暂无评论,来抢沙发