Section 3. Any person who violates or fails to comply with the provisions of this act shall be guilty of a misdemeanor, and on conviction shall be sentenced to pay a fine of not less than twenty-five dollars ($25.00) nor more than five hundred dollars ($500.00), and to undergo imprisonment in the county jail for not less than ten days nor more than sixty days, either or both.