int ch ; nAaY5s0D
ch=getche() ; =M9;`EmC
if((ch>='a') && (ch<='z')) MnTJFo"
printf("%c is a lowercase letter\n" ,ch); R@~=z5X(Q
else if ((ch>='A') && (ch<='Z')) .OcI.1H [
print(" %c is a uppercase letter\n" ,ch); >["X(%&w
else if((ch>'0')&&(ch<'9') *b8AN3!
printf(" %c is a number character between 0 and 9\n" ,ch) ; K( r@JW
else c"lblt5
printf("%c is...") QERj`/g
w:aV2
外面再加个循环就行了