Ⅰ C璇瑷绋嫔簭瀹炵幇杈揿叆瀛楃︿覆镓链夊瓧姣嶈浆鎹㈡垚涓嬩竴涓瀛楁瘝锛孉-B锛宎-b锛屽瓧姣峑鍜屽皬z杞鎹㈡垚A鍜宎锛屽叾浣椤瓧绗︿笉鍙
#include <stdio.h>
void main()
{
char str[100];
int i;
scanf("%s",str);
for(i=0;str[i]!='\0';i++)
{
if(('a'<=str[i] && str[i]<='z') || ('A'<=str[i] && str[i]<='Z'))
{
if(str[i]=='z'||str[i]=='Z')
{
str[i]=str[i]-25;
}
else
{
str[i]=str[i]+1;
}
}
}
printf("%s",str);
}
Ⅱ z鍙樻崲鏋佺偣涓哄嶆暟镐庝箞鐢诲浘
鍏堟墦寮鐢诲浘杞浠躲
鍏堢敾涓涓澶嶅潗镙囩郴锛岀劧钖庢眰鍑轰紶阃掑嚱鏁癎(x)镄勯浂镣瑰拰鏋佺偣锛屾爣鍦ㄥ潗镙囩郴涓鍗冲彲锛岄浂镣逛负鍒嗗瓙涓洪浂镄勭偣锛屾瀬镣逛负鍒嗘瘝涓洪浂镄勭偣鍗冲彲銆
鐢诲浘鏄涓涓绠鍗旷殑锲惧儚缁樼敾绋嫔簭锛屾槸寰杞疻indows镎崭綔绯荤粺镄勯勮呰蒋浠朵箣涓銆