int ch ; TE t+At`]
ch=getche() ; sqP (1|9
if((ch>='a') && (ch<='z')) 1*ui|fuK
printf("%c is a lowercase letter\n" ,ch); <zh N7="
else if ((ch>='A') && (ch<='Z')) C
lekB
print(" %c is a uppercase letter\n" ,ch); Mo_(WSs
else if((ch>'0')&&(ch<'9') "0#d F:qt
printf(" %c is a number character between 0 and 9\n" ,ch) ; H:>i:\J/M9
else 1.y|bB+kB
printf("%c is...") 1Wy0#?L
N)N\iad^
外面再加个循环就行了