int ch ; \2uQ"kJC
ch=getche() ; #U^@)g6
if((ch>='a') && (ch<='z')) K1Uur>Pk%
printf("%c is a lowercase letter\n" ,ch); 1g
*4e
else if ((ch>='A') && (ch<='Z')) J
9z\ qTI
print(" %c is a uppercase letter\n" ,ch); bEM-^SR
else if((ch>'0')&&(ch<'9') WO|#`HM2
printf(" %c is a number character between 0 and 9\n" ,ch) ; a4c~ThbI
else *edB3!!
printf("%c is...") ondF
nP] ~8ViS
外面再加个循环就行了