int ch ; CzwnmSv{.
ch=getche() ; Z*k}I{0,-
if((ch>='a') && (ch<='z')) J~~WV<6
printf("%c is a lowercase letter\n" ,ch); Alrk3I3{
else if ((ch>='A') && (ch<='Z')) zfS`@{;F`|
print(" %c is a uppercase letter\n" ,ch); *@D.=i>
else if((ch>'0')&&(ch<'9') ,i'>+Ix<
printf(" %c is a number character between 0 and 9\n" ,ch) ; ?O28Q DUI
else kw!! 5U;7
printf("%c is...") (u~@@d"
Cjw|.c`
外面再加个循环就行了