int ch ; H*}y^)x
ch=getche() ; m^zUmrj[
if((ch>='a') && (ch<='z')) 6e|*E`I
printf("%c is a lowercase letter\n" ,ch); {e 14[0U-
else if ((ch>='A') && (ch<='Z')) nlc
"c5;jh
print(" %c is a uppercase letter\n" ,ch); tS6qWtE
else if((ch>'0')&&(ch<'9') \2h!aRWR
printf(" %c is a number character between 0 and 9\n" ,ch) ; F1yqxWHeo
else a^I\ /&aw'
printf("%c is...") aht[4(XH5
cz8T
外面再加个循环就行了