int ch ; iJBZnU:Mp
ch=getche() ; _c2#
if((ch>='a') && (ch<='z')) j*{bM{~T<
printf("%c is a lowercase letter\n" ,ch); cx|j
_5%i
else if ((ch>='A') && (ch<='Z')) $/H'Dt6x
print(" %c is a uppercase letter\n" ,ch); d9(F wmE
else if((ch>'0')&&(ch<'9') zBbTj IFQ
printf(" %c is a number character between 0 and 9\n" ,ch) ; ?*4zNhL
else "^H+A-R[
printf("%c is...") zjmc>++<t
xcig'4L
外面再加个循环就行了