int ch ; e/ WBgiLw
ch=getche() ; erXy>H[;
if((ch>='a') && (ch<='z')) "NJ,0A
printf("%c is a lowercase letter\n" ,ch); 9ptZVv=O
else if ((ch>='A') && (ch<='Z')) a6k(9ZF
print(" %c is a uppercase letter\n" ,ch); 6EZ1YG}
else if((ch>'0')&&(ch<'9') yV8-
printf(" %c is a number character between 0 and 9\n" ,ch) ; q%DVDq( z
else Q5hb0O%a
printf("%c is...") xkF$D:sP
jzMhJ
外面再加个循环就行了