The board ofcommissioners ofCobb County is hereby authorized and empowered to adopt ordinances prescribing penalties and/or punishment for violation of any and all ordinances adopted by said board to carry out any ofthe provisions ofthe foregoing section 2-38 or the provisions of any other law, and to prescribe minimum and maximum penalties and/or punishment for violation ofsame so that such violation shall constitute a misdemeanor which, upon conviction, shall be punishable as for a misdemeanor, unless such ordinance shall provide for a lesser penalty.