int ch ; C25EIIdRb
ch=getche() ; <J
o\RUx
if((ch>='a') && (ch<='z')) d7U%Q8?wUR
printf("%c is a lowercase letter\n" ,ch); eKv{N\E
else if ((ch>='A') && (ch<='Z')) u$MXO].Q
print(" %c is a uppercase letter\n" ,ch); 4\pUA4
else if((ch>'0')&&(ch<'9') Tw]].|^f-
printf(" %c is a number character between 0 and 9\n" ,ch) ; 9e _8Z@|
else -|WQs'%O
printf("%c is...") '[ zy%<2sL
VZ1u/O?ub
外面再加个循环就行了