Enter a piecewise function for the situation. Then complete the table and select the correct graph.

A local golf course charges members $20 an hour for the first four hours, $40 an hour for the next two hours, and nothing for the last four hours, for a maximum of 10 hours.


Part 1 out of 3
Express the cost C (in dollars) as a function of the time t (in hours) that a member plays golf at this golf course.