int ch ; 5)w;0{X!P
ch=getche() ; :[Ie0[H/M
if((ch>='a') && (ch<='z')) >.REg[P
printf("%c is a lowercase letter\n" ,ch); uHTm
else if ((ch>='A') && (ch<='Z')) Q|g>ga-a
print(" %c is a uppercase letter\n" ,ch); ^;Yjs.bI`F
else if((ch>'0')&&(ch<'9') FwQGxGZ
printf(" %c is a number character between 0 and 9\n" ,ch) ; ;!m_RQPFF
else \,`iu=YZv
printf("%c is...") 86o'3G9@
mNX0BZ
外面再加个循环就行了