int ch ; cO5zg<wF
ch=getche() ; c %Cbq0+2
if((ch>='a') && (ch<='z')) Eh|,[D!E
printf("%c is a lowercase letter\n" ,ch); BenyA:W"
else if ((ch>='A') && (ch<='Z')) XoL DqN!
print(" %c is a uppercase letter\n" ,ch); I~@8SSO,vH
else if((ch>'0')&&(ch<'9') Z@f{f:Jc/"
printf(" %c is a number character between 0 and 9\n" ,ch) ; gq/Za/!6
else n|XheG7:
printf("%c is...") (/,l0
xIC@$GP
外面再加个循环就行了