int ch ; @fT*fv
ch=getche() ; AZorz Q]s
if((ch>='a') && (ch<='z')) u~Q0V J~
printf("%c is a lowercase letter\n" ,ch); B8Jev\_
else if ((ch>='A') && (ch<='Z')) ' rHkJ
print(" %c is a uppercase letter\n" ,ch); w@.E}%bwq
else if((ch>'0')&&(ch<'9') A2Rr*e
printf(" %c is a number character between 0 and 9\n" ,ch) ; I'BoP
else 2j H`
printf("%c is...") 8;p6~&).C~
kX\t0'=]
外面再加个循环就行了