int ch ; )pnyVTKt
ch=getche() ; G-aR%]7$g
if((ch>='a') && (ch<='z')) G95,J/w
printf("%c is a lowercase letter\n" ,ch); mB?x_6#d9
else if ((ch>='A') && (ch<='Z')) M([#Py9h
print(" %c is a uppercase letter\n" ,ch); J$dwy$n
else if((ch>'0')&&(ch<'9') n<I{x^!
printf(" %c is a number character between 0 and 9\n" ,ch) ; [ERZ".?
else V$^jlWdR
printf("%c is...") }cKB)N
BJb
Fnw:alWr
外面再加个循环就行了