Question: Programming Exercise 2 - 2 6 : Unit 2 Code: Unit 2 : Basic Elements of C + + Each window The bookshelf And the
Programming Exercise : Unit Code: Unit : Basic Elements of C
Each window
The bookshelf
And the length, width, and height of the room.
The program outputs:
The amount of paint needed to paint the walls of the room.Instructions
A room has one door, two windows, and a builtin bookshelf and it needs to be painted. Suppose that one gallon of paint can paint square feet.
Write a program that prompts the user to input the length and width in feet of:
The door
Each window
The bookshelf
And the length, width, and height of the room.
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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
