int ch ; 5!nZvv
ch=getche() ; ,A6*EJ\w
if((ch>='a') && (ch<='z')) tDN-I5q
printf("%c is a lowercase letter\n" ,ch); $E7yJ|p{
else if ((ch>='A') && (ch<='Z')) 0jq&i#yNB
print(" %c is a uppercase letter\n" ,ch); ]Vwky]d
else if((ch>'0')&&(ch<'9') VDnAQ[T@d
printf(" %c is a number character between 0 and 9\n" ,ch) ; 6AQ;P
else La9@h"
printf("%c is...") aRG[F*BY
M.OWw#?p:_
外面再加个循环就行了