int ch ; GP ;c$pC
ch=getche() ; vTYI
ez`g
if((ch>='a') && (ch<='z')) z^9Yoqog
printf("%c is a lowercase letter\n" ,ch); W?{:HV
else if ((ch>='A') && (ch<='Z')) Xg.'<.!g0
print(" %c is a uppercase letter\n" ,ch); pmXx2T#=
else if((ch>'0')&&(ch<'9') $enh>!mU
printf(" %c is a number character between 0 and 9\n" ,ch) ; 0~RsdQGqC
else
U7J0&
printf("%c is...") hi,!
-i|qk`Y
外面再加个循环就行了