You are ordering photo prints online to send out to all your friends for the holidays. The first 20 prints cost

12¢ each, if you order more than 20 the price of the additional prints goes down to 8¢ each.
a. Write a function to describe the cost of the prints.
b. What is the cost if you buy 16 prints?
c. What is the cost if you buy 35 prints?
d. What is the cost if you buy 112 prints?

1 answer

f(x) =
0.12x if 0<x<=20
.12*20 + 0.08(x-20) if x>20

now just plug and chug