int ch ; 'yAHB* rQR
ch=getche() ; y[f6J3/
if((ch>='a') && (ch<='z')) 0ARj3
printf("%c is a lowercase letter\n" ,ch); A LR`z~1
else if ((ch>='A') && (ch<='Z')) &nn+X%m9g
print(" %c is a uppercase letter\n" ,ch); R|7_iMIZ
else if((ch>'0')&&(ch<'9') ]<o^Q[OL
printf(" %c is a number character between 0 and 9\n" ,ch) ; d+7Dy3i|g=
else PrEfJ?
printf("%c is...") 2\xEMec
tjDCfJx*
外面再加个循环就行了