int ch ; ?`/DFI'_G
ch=getche() ; 6qd?&.=r
if((ch>='a') && (ch<='z')) \~>
.NH-
printf("%c is a lowercase letter\n" ,ch); _J X>#h
else if ((ch>='A') && (ch<='Z')) `{1~]?-&
print(" %c is a uppercase letter\n" ,ch); @q"HZO[
else if((ch>'0')&&(ch<'9') y#{v\h
Cz
printf(" %c is a number character between 0 and 9\n" ,ch) ; _$P1N^}Zs
else 0^83:C
^{
printf("%c is...") \h@3dJ4
awl3|k/
外面再加个循环就行了