int ch ; Jy|Mfl%d
ch=getche() ; ;
wHuL\
if((ch>='a') && (ch<='z')) DBmcvC
printf("%c is a lowercase letter\n" ,ch); *R~oA`
else if ((ch>='A') && (ch<='Z')) *fd` .}
print(" %c is a uppercase letter\n" ,ch); E"G._<3J8
else if((ch>'0')&&(ch<'9') ?tA-`\E
printf(" %c is a number character between 0 and 9\n" ,ch) ; G~esSL^G/
else J"83S*2(j
printf("%c is...") <K\F/`c
+V'r>C:
外面再加个循环就行了