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):

  1. The lengths and widths of the door
  2. The lengths and widths of each window
  3. The lengths and widths of the bookshelf
  4. The length, width, and height of the room
  5. The area that can be painted with one gallon of paint

The program outputs:

  1. The amount of paint needed to paint the walls of the room.

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!