int ch ; ]S%qfna e1
ch=getche() ; J. {[>
if((ch>='a') && (ch<='z')) pw&l.t6.
printf("%c is a lowercase letter\n" ,ch); v*]|1q%/
else if ((ch>='A') && (ch<='Z')) C=9|K`g5 R
print(" %c is a uppercase letter\n" ,ch); }$iH3#E8
else if((ch>'0')&&(ch<'9') 4MIL#1s
printf(" %c is a number character between 0 and 9\n" ,ch) ; my*UN_]
else Mx$VAV^\
printf("%c is...") qw"`NubX
:5h&f
外面再加个循环就行了