int ch ; H6Q!~o\"H
ch=getche() ; p(fL'
J
if((ch>='a') && (ch<='z')) Uu0
printf("%c is a lowercase letter\n" ,ch); t{Wu5<F:
else if ((ch>='A') && (ch<='Z')) b*TQKYT
print(" %c is a uppercase letter\n" ,ch); w)Z-, J
else if((ch>'0')&&(ch<'9') kK_9I (7c
printf(" %c is a number character between 0 and 9\n" ,ch) ; pSdtAv
else jX&/ e'B
printf("%c is...") 9a$ 7$4m
g).IF.
外面再加个循环就行了