int ch ; n`;=^^ B
ch=getche() ; |G!-FmIK
if((ch>='a') && (ch<='z')) L~CwL
printf("%c is a lowercase letter\n" ,ch); ]#KZ
W)M
else if ((ch>='A') && (ch<='Z')) Ez+.tbEA,
print(" %c is a uppercase letter\n" ,ch); 7hY~
else if((ch>'0')&&(ch<'9') ;}WdxWw4
printf(" %c is a number character between 0 and 9\n" ,ch) ; V] <J^m8
else <LH(>
printf("%c is...") !/sXG\
g/J
^YT!
外面再加个循环就行了