int ch ; @0fiui_
ch=getche() ; _)-y&
if((ch>='a') && (ch<='z')) 3?uah'D5
printf("%c is a lowercase letter\n" ,ch); O%m>4OdH
else if ((ch>='A') && (ch<='Z')) I2e@_[
1
print(" %c is a uppercase letter\n" ,ch); jI45X22j
else if((ch>'0')&&(ch<'9') .aD=d\
printf(" %c is a number character between 0 and 9\n" ,ch) ; *s6(1S
else rk< 3QXv
printf("%c is...") p$}1V2h;
Ag_I'
外面再加个循环就行了