Question: Please make this program using C++ How Much Paint? Write a program that will determine the number of gallons required to paint the four walls

Please make this program using C++  Please make this program using C++ How Much Paint? Write a

How Much Paint? Write a program that will determine the number of gallons required to paint the four walls of a room. A gallon of paint will cover 120 square feet if wall space. The room is rectangular with all walls the same height, and opposite walls the same width. The room to be painted has one doorway and one window, neither of which is to be painted. The doorway is 36 inches wide and 80 inches tall. The dimensions of the walls and window wil be input to the program, and are all whole numbers. Your program should prompt for the following (in this order) Height of the room Width of one pair of walls Width of the other pair of walls Width of the window .Height of the windovw Your program should then output total square feet to be painted the number of gallons of paint required. Here is a sample run of the program (underlines indicate user input) Calculates the number of gallons of paint required to paint a room with one doorway and one window Enter the room height (inches): 98 Enter first wall width (inches) 184 Enter second wall width (inches) 118 Enter window height (inches) 40 Enter window width (inches) 36 The area to be painted measures 381.056 square feet. This room requires 3.17546 gallons of paint

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!