int ch ; Y:wds=lA
ch=getche() ; .s+e
hZ
if((ch>='a') && (ch<='z')) Cfi5r|S
printf("%c is a lowercase letter\n" ,ch); u[% #/
else if ((ch>='A') && (ch<='Z')) j2z$kw%
print(" %c is a uppercase letter\n" ,ch); <"-sN
else if((ch>'0')&&(ch<'9') |67UN U
printf(" %c is a number character between 0 and 9\n" ,ch) ; *m7e>]-
else ZISR]xay
printf("%c is...") tU(6%zvR
@U}UC G7+
外面再加个循环就行了