int ch ; 2TNK
ch=getche() ; } `5k^J$x
if((ch>='a') && (ch<='z')) )Yv=:+f
printf("%c is a lowercase letter\n" ,ch); |0Xf":
else if ((ch>='A') && (ch<='Z')) zo8D"
print(" %c is a uppercase letter\n" ,ch); 1GqSY|FSGp
else if((ch>'0')&&(ch<'9') Ka_;~LS>(
printf(" %c is a number character between 0 and 9\n" ,ch) ; Fk^N7EJ:$
else *UJ4\
printf("%c is...") }>d
,Aai-AGG@
外面再加个循环就行了