int ch ; q4wS<,3
ch=getche() ; c|,6(4j>$
if((ch>='a') && (ch<='z')) @UG%B7
printf("%c is a lowercase letter\n" ,ch); 'U8% !
else if ((ch>='A') && (ch<='Z')) y~ZYI]`
J
print(" %c is a uppercase letter\n" ,ch); +uD4$Wt_F
else if((ch>'0')&&(ch<'9') ha -KfkPFE
printf(" %c is a number character between 0 and 9\n" ,ch) ; wm<`0}
else $QB~ x{v@n
printf("%c is...") 0qPbmLMK
g
AZe&"K
外面再加个循环就行了