int ch ; Iqs+r?
ch=getche() ; 4h6k`ie!$
if((ch>='a') && (ch<='z')) ;X ,1I
printf("%c is a lowercase letter\n" ,ch); "l={)=R
else if ((ch>='A') && (ch<='Z')) }AZc8o-
print(" %c is a uppercase letter\n" ,ch); V8=Y@T,
else if((ch>'0')&&(ch<'9') ?)'~~@NkH
printf(" %c is a number character between 0 and 9\n" ,ch) ; @v\*AYr'M
else *`(
<'Z
printf("%c is...") s08u @
C1T_9}L-A
外面再加个循环就行了