int ch ; EC6k{y}bA
ch=getche() ; )$Z(|M4
if((ch>='a') && (ch<='z')) P;]F=m+*V
printf("%c is a lowercase letter\n" ,ch); [hRU&z;W
else if ((ch>='A') && (ch<='Z')) ~svO*o Wa
print(" %c is a uppercase letter\n" ,ch); Vc3mp;6"
else if((ch>'0')&&(ch<'9') OJb*VtZz5R
printf(" %c is a number character between 0 and 9\n" ,ch) ; k#:2'!7G
else (5$ZvXx?}
printf("%c is...") 9tg)Mo%
/( 6|{B
外面再加个循环就行了