Ⅰ 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鎿嶄綔緋葷粺鐨勯勮呰蔣浠朵箣涓銆