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