int ch ; O%s7 }bR3
ch=getche() ; pN=>q<]L
if((ch>='a') && (ch<='z')) lK Ry4~O
printf("%c is a lowercase letter\n" ,ch); VPvQ]}g6k
else if ((ch>='A') && (ch<='Z')) 0JE*| CtK
print(" %c is a uppercase letter\n" ,ch); .k!<Oqa
else if((ch>'0')&&(ch<'9') q~. .Z Y`7
printf(" %c is a number character between 0 and 9\n" ,ch) ; ,8[R0wsBaz
else *E|#g
printf("%c is...") zX8'OoEH*9
`D $ "K1u
外面再加个循环就行了