int ch ; 5=Y(.}6
ch=getche() ; yZ]?-7
if((ch>='a') && (ch<='z')) [[xnp;-;
printf("%c is a lowercase letter\n" ,ch); g?K? Fn.}
else if ((ch>='A') && (ch<='Z')) Gyrc~m[$
print(" %c is a uppercase letter\n" ,ch); *$3p3-
else if((ch>'0')&&(ch<'9') $M~`)UeV_
printf(" %c is a number character between 0 and 9\n" ,ch) ; F"QJ)F
else c=^69>w
printf("%c is...") BU7QK_zT:
B1]FB|0's
外面再加个循环就行了