int ch ; BOf1J1
ch=getche() ; ]_*S~'x
if((ch>='a') && (ch<='z')) =lr) gj
printf("%c is a lowercase letter\n" ,ch); K.>wQA&
else if ((ch>='A') && (ch<='Z')) -ewQp9)G
print(" %c is a uppercase letter\n" ,ch); V7=SV:+1or
else if((ch>'0')&&(ch<'9') kpfwqHT
printf(" %c is a number character between 0 and 9\n" ,ch) ; "oc$
else FE5Q?*Ea
printf("%c is...") N4^5rrkL
0vs0*;F;
外面再加个循环就行了