int ch ; ~'|&{-<
ch=getche() ; Vc{/o=1u
if((ch>='a') && (ch<='z')) %{c2lyw
printf("%c is a lowercase letter\n" ,ch); N_|YOw6
else if ((ch>='A') && (ch<='Z')) EsS!07fAM:
print(" %c is a uppercase letter\n" ,ch); rjt O`Mt`
else if((ch>'0')&&(ch<'9') Y}*Ctdrl
printf(" %c is a number character between 0 and 9\n" ,ch) ; s')!<E+z\t
else \y<+Fac1S
printf("%c is...") #0xm3rFy4
w 2s,
外面再加个循环就行了