Question
Create a JavaScriopt program that generates a proposal for an interior painting job. Your program should allow Tom's Paint employees to enter data for a
Create a JavaScriopt program that generates a proposal for an interior painting job. Your program should allow Tom's Paint employees to enter data for a painting job on a roomby-room basis. For each room to be painted, the employee should enter the length and width of the room, the number of doors, and the number of windows. Your program should then calculate the number of gallons needed to paint that room. Assume that windows are 3 ft. 6 in. by 4 ft. Assume doors are 3 ft. wide by 6 ft. 8 in. tall. Assume walls are 8 ft tall. Assume 1 gallon of paint covers 100 square feet. Tom's Paint charges $50 per gallon of paint used. It takes Tom's Paint 1 hour to paint 100 square feet. Tom's paint charges $45 per hour for labor. The generated proposal should display each room on a separate line and include the cost of the paint as well as labor costs. The generated proposal should include a Total Cost for the proposed job. You might consider output that looks something like this:
Job Proposal
Room Materials Labor Cost
Room 1 $100 $90 $190
Room 2 $150 $135 $385
Total $575
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started