int ch ; RO"c+|Py
ch=getche() ; F!OVx<
if((ch>='a') && (ch<='z')) ykcW>h
printf("%c is a lowercase letter\n" ,ch); ]o`qI#{R~R
else if ((ch>='A') && (ch<='Z')) Y^$^B,
print(" %c is a uppercase letter\n" ,ch); &.D3f"
else if((ch>'0')&&(ch<'9') X-&t!0O4}`
printf(" %c is a number character between 0 and 9\n" ,ch) ; %>B?WR\yE
else ~H!s{$.5
printf("%c is...") CnyCEIO-
J4 [7*v
外面再加个循环就行了