int ch ; KKLR'w,A>
ch=getche() ; /Jh1rck
if((ch>='a') && (ch<='z')) `%$8cZ-kr
printf("%c is a lowercase letter\n" ,ch); _REqT
else if ((ch>='A') && (ch<='Z')) GxYW4b
print(" %c is a uppercase letter\n" ,ch); Z7JKaP9{:
else if((ch>'0')&&(ch<'9') Of-C
printf(" %c is a number character between 0 and 9\n" ,ch) ; 8<YX7e
else #$LH2?)
printf("%c is...") rlR
!&
seu
~'s-
外面再加个循环就行了