int ch ; Lnzhs;7L
ch=getche() ; 5tL6R3
if((ch>='a') && (ch<='z')) *QX$Mo^E
printf("%c is a lowercase letter\n" ,ch); 8
_J:Yg
else if ((ch>='A') && (ch<='Z')) XN@5TZoaW
print(" %c is a uppercase letter\n" ,ch); ]nh)FMo
else if((ch>'0')&&(ch<'9') ;z68`P-
printf(" %c is a number character between 0 and 9\n" ,ch) ; =3'wHl
else `t
-3(>P
printf("%c is...") 7o<RvM
nL?B
外面再加个循环就行了