int ch ; 8\)4waz$
ch=getche() ; K7$Q.
if((ch>='a') && (ch<='z')) p]e.E`'S
printf("%c is a lowercase letter\n" ,ch); * W"Pv,:
else if ((ch>='A') && (ch<='Z')) aA%x9\Y
print(" %c is a uppercase letter\n" ,ch); ?y%Mm09
else if((ch>'0')&&(ch<'9') 8u*Q^-fpo0
printf(" %c is a number character between 0 and 9\n" ,ch) ; xt@v"P2Ok
else (RUc>Qi
printf("%c is...") .|:(VG$MfI
~hP]<$v
外面再加个循环就行了