int ch ; =Yo1v=wxN
ch=getche() ; c{ZY,C&<
if((ch>='a') && (ch<='z')) 9D\4n
printf("%c is a lowercase letter\n" ,ch); Uh}seB#mJj
else if ((ch>='A') && (ch<='Z')) d87vl13
print(" %c is a uppercase letter\n" ,ch); PrQ?PvA<L
else if((ch>'0')&&(ch<'9') ^^` Jcd/
printf(" %c is a number character between 0 and 9\n" ,ch) ; wJb#g0
else 2Tav;LKX
printf("%c is...") pVp:@0h
`i~ Y Fr
外面再加个循环就行了