int ch ; 7QL) }b.H
ch=getche() ; qP .VK?jF|
if((ch>='a') && (ch<='z')) H&K)q5~
printf("%c is a lowercase letter\n" ,ch); N@`9 ~JS
else if ((ch>='A') && (ch<='Z')) U>M>FZ
print(" %c is a uppercase letter\n" ,ch); apWrcaj
else if((ch>'0')&&(ch<'9') Z YO/'YW
printf(" %c is a number character between 0 and 9\n" ,ch) ; l=OC?d*m
else E":":AC#
printf("%c is...") x: wq"X
1XKIK(l
外面再加个循环就行了