int ch ; O!Wd5Y
ch=getche() ; tJ=di5&
if((ch>='a') && (ch<='z')) *]x*B@RF
printf("%c is a lowercase letter\n" ,ch); oh#>
5cA8
else if ((ch>='A') && (ch<='Z')) fA! 6sB
print(" %c is a uppercase letter\n" ,ch); BwJuYH7QJ$
else if((ch>'0')&&(ch<'9') ^ie^VY($
printf(" %c is a number character between 0 and 9\n" ,ch) ; *o' 4,+=am
else sl/)|~3!8
printf("%c is...") S*)o)34U
x7RdZC
外面再加个循环就行了