Inmates shall be worked on any of the public roads of the county. The same number of hours of labor per day as is required by the public road laws shall constitute a day's work. An inmate shall be allowed one dollar ($1.00) for each day's work, which amount shall be credited to the inmate's fine and costs.