7. A museum has the following prices for
admission:
Children under 12: free
Kids age 12-17: $3
Adults age 18-64: $8
Senior citizens 65 and over: $4
Write a piecewise-defined function that gives the cost C(n) for a museum visitor who is n years old.
What is the range of the function?