int ch ; l@@qpaH
ch=getche() ; 7~H$p X
if((ch>='a') && (ch<='z')) gLbTZM4i
printf("%c is a lowercase letter\n" ,ch); Jd33QL}Hj
else if ((ch>='A') && (ch<='Z')) ,awkL
:
print(" %c is a uppercase letter\n" ,ch); ]:4\rBR3
else if((ch>'0')&&(ch<'9') 6%&w\<(SG
printf(" %c is a number character between 0 and 9\n" ,ch) ; 2W63/kRbU
else o;pJjC]
printf("%c is...") U(<~("ocN
;#7:}>}rO
外面再加个循环就行了