int ch ; `F4gal^ ^
ch=getche() ; 9jW"83*5
if((ch>='a') && (ch<='z')) C}Ucyzfr,p
printf("%c is a lowercase letter\n" ,ch); C] >?YR4
else if ((ch>='A') && (ch<='Z')) "]ZDs^7
print(" %c is a uppercase letter\n" ,ch); C5x*t Q|
else if((ch>'0')&&(ch<'9') >S'IrnH'!
printf(" %c is a number character between 0 and 9\n" ,ch) ; ']DUCu
else D'<'"kUd
printf("%c is...") ,#Mt10e{
^b^}6L'Z
外面再加个循环就行了