int ch ; y|0!sNg
ch=getche() ; z~-(nyaBS
if((ch>='a') && (ch<='z')) 4(91T
printf("%c is a lowercase letter\n" ,ch); ?KB]
/gT^
else if ((ch>='A') && (ch<='Z')) i[?VF\Y(
print(" %c is a uppercase letter\n" ,ch); nC%<BatQ
else if((ch>'0')&&(ch<'9') ]v/pMg#-
printf(" %c is a number character between 0 and 9\n" ,ch) ; NQGa=kXeJ
else 4ClSl#X#i
printf("%c is...") C2aA])7D
**\?-*c=U
外面再加个循环就行了