int ch ; '~wpP=<yyF
ch=getche() ; HZ*0QgW\(5
if((ch>='a') && (ch<='z')) www`=)A;
printf("%c is a lowercase letter\n" ,ch); |k{-l!HI
else if ((ch>='A') && (ch<='Z')) (HN4g;{
print(" %c is a uppercase letter\n" ,ch); s2v(=
else if((ch>'0')&&(ch<'9') *V;3~x!
printf(" %c is a number character between 0 and 9\n" ,ch) ; Q:|w%L*E
else hD<f3_k
printf("%c is...") h.whjiCFa
R& =f:sEi
外面再加个循环就行了