#include <stdio.h>
main()
{
char c1[26]={a,b,cd,e,f,g,h,i,j,kl,m,n,o,p,q,r,s,t,u,v,w,x,y,z};
char c2[]={A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,YZ};
int i,j;
for(i=1;i<=26;i++)
{
if(c1<='z'&&c1>='a')
{
int temp;
temp=c[i];
c1[i]=c[26-i];
c[26-i]=temp;
printf("%c",c1[i]);
}
}
for(i=1;i<=26;i++)
{
if(c1<='z'&&c1>='a')
{
int temp;
temp=c[i];
c1[i]=c[26-i];
c[26-i]=temp;
printf("%c",c1[i]);
}
}
for(j=1;j<=26;j++)
{
if(c2<='Z'&&c2>='A')
{
int temp;
temp=c2[j];
c2[j]=c2[26-j];
c2[26-j]=temp;
printf("%c",cj[j]);
}
}
}应该差不多就试 这个意思我也是菜鸟