int ch ; +w(>UBy-
ch=getche() ; ![}q9aeT
if((ch>='a') && (ch<='z')) }_GI%+t
printf("%c is a lowercase letter\n" ,ch); <
X&{6xu
else if ((ch>='A') && (ch<='Z')) }
0^wJs
print(" %c is a uppercase letter\n" ,ch); Z<M?_<3
else if((ch>'0')&&(ch<'9') jJU9~5i?
printf(" %c is a number character between 0 and 9\n" ,ch) ; B$)&;Q
else B!iz=+RNC1
printf("%c is...") )HPe}(ypt
^Ox|q_E
w}
外面再加个循环就行了