int ch ; hf<J
\
ch=getche() ; [3>GGX[Ic
if((ch>='a') && (ch<='z')) [0;buVU.
printf("%c is a lowercase letter\n" ,ch); /R8p]
else if ((ch>='A') && (ch<='Z')) yt0,^*t_
print(" %c is a uppercase letter\n" ,ch); S;\R!%t_
else if((ch>'0')&&(ch<'9') @tT-JwU
printf(" %c is a number character between 0 and 9\n" ,ch) ; hsNWqk qys
else D{7w!z
printf("%c is...") Qst$S} n
^4Uw8-/ 9
外面再加个循环就行了