A painting company has determined that for every 115 square feet of wall space, once gallon of paint and eight hours of labor will be required. the company charges $18 per hour for labor. Write a program that allows the user to enter the number of rooms that are to be painted and the price of the paint per gallon. it should also ask the square feet of wall space in each room. It should then display the following data. * The number of gallons of paint, *The hours of labor required, *The cost of the paint, * The labor charges, *The total cost of the paint job. (Input validation: Do not accept a value less than 1 for the numbers of rooms. Do not accept a value less than $100 for the price of paint. Do not accept a negative value for the square footage of wall space. |
|
|