int ch ; $0ym_6n
ch=getche() ; L;L2j&i%v)
if((ch>='a') && (ch<='z')) 9Kq<\"7Bmz
printf("%c is a lowercase letter\n" ,ch); 2#,8evH
else if ((ch>='A') && (ch<='Z')) =mDy@%yx!
print(" %c is a uppercase letter\n" ,ch); IJ+O),'
else if((ch>'0')&&(ch<'9') kOo>Iy
printf(" %c is a number character between 0 and 9\n" ,ch) ; -t;?P2
else Q1]V|S;)X
printf("%c is...") ]Fb8.q5(Y
s$IcDuBu
外面再加个循环就行了