int ch ; KFAB
ch=getche() ; ;)83tx
/
if((ch>='a') && (ch<='z')) UldK lQ8
printf("%c is a lowercase letter\n" ,ch); Kw(/#C:$
else if ((ch>='A') && (ch<='Z')) cOOPNa>5_
print(" %c is a uppercase letter\n" ,ch); l2gI2Cioa
else if((ch>'0')&&(ch<'9') IB}.J,=
printf(" %c is a number character between 0 and 9\n" ,ch) ;
9`{Mq9J
else YxS*im[%]
printf("%c is...") 5irewh'R
OA%.>^yb@
外面再加个循环就行了