int ch ; !rnjmc
ch=getche() ; ]_s3<&R
if((ch>='a') && (ch<='z')) \YvG+7a
printf("%c is a lowercase letter\n" ,ch); ~]KdsT(=_
else if ((ch>='A') && (ch<='Z')) &=@{`2&
print(" %c is a uppercase letter\n" ,ch); o 4F'z
else if((ch>'0')&&(ch<'9') KIF9[/P
printf(" %c is a number character between 0 and 9\n" ,ch) ; /oPW0of
else i2<z"v63
printf("%c is...") GHv6UIe&
!^arWH[od
外面再加个循环就行了