int ch ; 2h5L#\H"
ch=getche() ; `5CuH
if((ch>='a') && (ch<='z')) Tg~SGAc
printf("%c is a lowercase letter\n" ,ch); :J6lJ8w
?
else if ((ch>='A') && (ch<='Z')) -{rUE +
print(" %c is a uppercase letter\n" ,ch); D>efr8Qd@
else if((ch>'0')&&(ch<'9') `PApmS~}
.
printf(" %c is a number character between 0 and 9\n" ,ch) ; Vmf!0-
else ]ovb!X_
printf("%c is...") 0JM`*f%n
H$={i$*,Y
外面再加个循环就行了