Question: Instructions in C++ A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that one gallon of
Instructions in C++
A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that one gallon of paint can paint 120 square feet.
Write a program that prompts the user to input (in feet):
- The lengths and widths of the door
- The lengths and widths of each window
- The lengths and widths of the bookshelf
- The length, width, and height of the room
- The area that can be painted with one gallon of paint
The program outputs:
- The amount of paint needed to paint the walls of the room.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
