int ch ; gI/(hp3ob
ch=getche() ; 34L1Gxf
if((ch>='a') && (ch<='z')) .]N`]3$=
printf("%c is a lowercase letter\n" ,ch); "O_)~u
else if ((ch>='A') && (ch<='Z')) 0iKAg
print(" %c is a uppercase letter\n" ,ch); !:v7SRUXb
else if((ch>'0')&&(ch<'9') \T?6TDZ]
printf(" %c is a number character between 0 and 9\n" ,ch) ; l!:L<B
else H>%L@Btw
printf("%c is...") .&n!4F'
'Jd*r(2d
外面再加个循环就行了