int ch ; t ;bU#THM
ch=getche() ; &h;J_Ps
if((ch>='a') && (ch<='z')) b("M8}o
printf("%c is a lowercase letter\n" ,ch); 7\EY&KI"0
else if ((ch>='A') && (ch<='Z')) ifcC
[.im
print(" %c is a uppercase letter\n" ,ch); m4'x>Z
else if((ch>'0')&&(ch<'9') #PA 9bM
printf(" %c is a number character between 0 and 9\n" ,ch) ; NFBhnNH+
else #;s5=aH
printf("%c is...") pLsWy&G
UO_tJN#X
外面再加个循环就行了