int ch ; 52,p CyU
ch=getche() ; [-=PK\ B
if((ch>='a') && (ch<='z')) M8Q-x-7
printf("%c is a lowercase letter\n" ,ch); \&n]W\
else if ((ch>='A') && (ch<='Z')) %HpTQ
print(" %c is a uppercase letter\n" ,ch); x?VX,9;j
else if((ch>'0')&&(ch<'9') Q9]7.^l
printf(" %c is a number character between 0 and 9\n" ,ch) ; 8J7xs6@
else ?yU|;my
printf("%c is...") &Dgho
Jr==AfxyT
外面再加个循环就行了