int ch ; <[Oo*:A!7
ch=getche() ; ]|Z b\{
if((ch>='a') && (ch<='z')) Y94MI1O5$
printf("%c is a lowercase letter\n" ,ch); o'=VZT9
else if ((ch>='A') && (ch<='Z')) W{Q)-y
print(" %c is a uppercase letter\n" ,ch); Faac]5u:*
else if((ch>'0')&&(ch<'9') QZYU0;
VF
printf(" %c is a number character between 0 and 9\n" ,ch) ; hx!7w}[A
else ]T<^{jG
printf("%c is...") C7qYiSv
.5Z_E
O
外面再加个循环就行了