int ch ; vt{s"\f
ch=getche() ; r~q*E'n
if((ch>='a') && (ch<='z')) YrAaL"20
printf("%c is a lowercase letter\n" ,ch); T' O5>e
else if ((ch>='A') && (ch<='Z')) OiPE,sv
print(" %c is a uppercase letter\n" ,ch); RqTW$94RD
else if((ch>'0')&&(ch<'9') Q*wub9
printf(" %c is a number character between 0 and 9\n" ,ch) ; "=)i'x"0"
else W[S4s/)mg
printf("%c is...") =Ny&`X#F
zA+&V7bvy
外面再加个循环就行了