int ch ; Z-%\
<zT
ch=getche() ; iI T;K@&
if((ch>='a') && (ch<='z')) iT+8|Yia
printf("%c is a lowercase letter\n" ,ch); #\{l"-
else if ((ch>='A') && (ch<='Z')) E_rI?t^
print(" %c is a uppercase letter\n" ,ch); gT.sjd
else if((ch>'0')&&(ch<'9') C[cbbp
printf(" %c is a number character between 0 and 9\n" ,ch) ; >>r(/81S
else zpn9,,~u
printf("%c is...") ,>a&"V^k
WCZjXDiwJ
外面再加个循环就行了