int ch ; km3-Hp1
ch=getche() ; xr?r3Y~^e
if((ch>='a') && (ch<='z')) R'80 {
printf("%c is a lowercase letter\n" ,ch); JUXK}0d%eN
else if ((ch>='A') && (ch<='Z')) o= 8yp2vG
print(" %c is a uppercase letter\n" ,ch); 4<O[d
else if((ch>'0')&&(ch<'9') AM }OLHj
printf(" %c is a number character between 0 and 9\n" ,ch) ; %_3{Db`R>
else Lh. L~M1X
printf("%c is...") h7Ma`w\-
CP?\'a"Kt
外面再加个循环就行了