int ch ; )Z2l*fV
ch=getche() ; E2D}F@<]
if((ch>='a') && (ch<='z')) h 'F\9t
printf("%c is a lowercase letter\n" ,ch); ny. YkN2
else if ((ch>='A') && (ch<='Z')) !VfP#B6.
print(" %c is a uppercase letter\n" ,ch); Cy~Pfty
else if((ch>'0')&&(ch<'9') O\(0{qu
printf(" %c is a number character between 0 and 9\n" ,ch) ; 3]X~bQAw
else ?oc#$fcQ~
printf("%c is...") t*&O*T+fgy
jnl3P[uQ
外面再加个循环就行了