int ch ; VT-&"Jn
ch=getche() ; O'j;"l~H|
if((ch>='a') && (ch<='z')) lRentNg0b
printf("%c is a lowercase letter\n" ,ch); >Y[{m $-
else if ((ch>='A') && (ch<='Z')) o&X!75^G>
print(" %c is a uppercase letter\n" ,ch); < FN[{YsA
else if((ch>'0')&&(ch<'9') 3+(Fq5I
printf(" %c is a number character between 0 and 9\n" ,ch) ; 9ft7
else Jzfzy0$
printf("%c is...") *<BasP
\1|T
外面再加个循环就行了