int ch ; HP=+<]?{G
ch=getche() ; MJvp6n
if((ch>='a') && (ch<='z')) Vc2`b3"Br
printf("%c is a lowercase letter\n" ,ch); m2o0y++TjW
else if ((ch>='A') && (ch<='Z')) ]tD]Wx%
print(" %c is a uppercase letter\n" ,ch); SdWV3
else if((ch>'0')&&(ch<'9') &o*A{
printf(" %c is a number character between 0 and 9\n" ,ch) ; l\mPHA23
else 3 Y &d=
printf("%c is...") kFB
vbNBLCwug
外面再加个循环就行了