int ch ; B$n 1k45
ch=getche() ; CW2)1%1iz
if((ch>='a') && (ch<='z')) `ZbFky{
printf("%c is a lowercase letter\n" ,ch); lu8*+.V
else if ((ch>='A') && (ch<='Z')) Tw7]
print(" %c is a uppercase letter\n" ,ch); xP,b/T#a
else if((ch>'0')&&(ch<'9') G{I),Y~IF
printf(" %c is a number character between 0 and 9\n" ,ch) ; i4]oE&G
else qXhdU/
=
printf("%c is...") P8Wv&5A
kIX1u<M~
外面再加个循环就行了