It is unlawful for any person to fail adequately to confine any female dog or cat under his control while such female dog or cat is in heat. It is unlawful for any person to indecently exhibit or to cause or allow the indecent exhibition of any dog or cat, or to let or cause to be let any male or female dog or cat to a dog or cat of the opposite sex for sexual intercourse, unless the same shall be in some enclosed place entirely out of the public view. (Prior code § 3-32)