int ch ; {:od=\*R
ch=getche() ; 62%.ddM4
if((ch>='a') && (ch<='z')) sP5PYNspA
printf("%c is a lowercase letter\n" ,ch); R$(,~~MH
else if ((ch>='A') && (ch<='Z')) &^qD<eZ!Eq
print(" %c is a uppercase letter\n" ,ch); #)=P/N1
else if((ch>'0')&&(ch<'9') lGjmw"/C
printf(" %c is a number character between 0 and 9\n" ,ch) ; Hc^b}A y7
else Uh?SDay
printf("%c is...") T
-C2V$1
T\8|Q@
外面再加个循环就行了