A painting company has determined that for every 115 square feet of wall space
A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $18.00 per hour for labor. The program will allow the user to enter the number of rooms to be painted and the price of the paint per gallon. It should also ask for the length, width and height of each room (assumption: room dimensions are square or rectangular). The program will have the following methods that return the following data:
•the square footage of the room
1. Add together the length of each wall
2. Multiply the sum by the wall height
See attached file for an example of calculating the square footage of a room.
•the number of gallons of paint required
•the hours of labor required
•the cost of the paint
•the labor charges
•the total cost of the paint job
It should then display the information on the screen.
Be sure to use your test data to test your program.
All data entry will be tested for validity, and the user reprompted until the data is entered in correctly.
10 years ago
Purchase the answer to view it
- paintjobestimator.zip