int ch ; QM]YJr3rE
ch=getche() ; MfQ!6zE
if((ch>='a') && (ch<='z')) L+QLLcS~EM
printf("%c is a lowercase letter\n" ,ch); y==CTY@
else if ((ch>='A') && (ch<='Z')) $SE^S
print(" %c is a uppercase letter\n" ,ch); 8Eq7Sa
else if((ch>'0')&&(ch<'9') EzIGz[
printf(" %c is a number character between 0 and 9\n" ,ch) ; "vGW2~*)
else +"6`q;p3)
printf("%c is...") l(q ,<[O
4X$Qu6#i
外面再加个循环就行了