Functions (Painting Costs)
- Initial Deadline:
- 11:00pm, Friday October 22, 2021
Description
Write a program to generate a quote for an interior painter. The program must ask the user for the square feet feet to be painted and the price of paint per gallon. The program must output the number of square feet, the cost of paint, the cost of labor and the total cost. Every 250 square feet to be painted requires one gallon of paint and three hours of labor. The labor cost is $18.00 per hour. The minimum price per gallon that a user can enter is $20.00.
At a minimum write and call a function for each of the following tasks:
- Get the square feet from the user
- Get the per gallon price from the user
- Compute and return the cost of paint
- Compute and return the cost of labor
- Compute and return the total cost
- Print the output