int ch ; m8[j #=h
ch=getche() ; y6BAH
if((ch>='a') && (ch<='z')) 9\(|
D#
printf("%c is a lowercase letter\n" ,ch); 1'8YkhQ2a
else if ((ch>='A') && (ch<='Z')) Q"#J6@
print(" %c is a uppercase letter\n" ,ch); &rR2,3r=
else if((ch>'0')&&(ch<'9') C0Z=~Q%
printf(" %c is a number character between 0 and 9\n" ,ch) ; I&5!=kR
else GM<9p_
B
printf("%c is...") jPkn[W#
6
FS1z`wYP
外面再加个循环就行了