Write a program that prompts the user to input the lengths


Assignment

Directions

First create an algorithm then convert to C++. Upload a word document containing your Algorithm and your C++ .cpp source file to Blackboard. When uploading C++ source to blackboard, make sure you are only uploading the .cpp file from the project. Make sure to follow commenting guidelines including a proper file header (These are posted in "Code Guidelines" under Learning Content in Blackboard).

How much paint? (Exercise 25)

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 the lengths and widths of the door, each window, the bookshelf, and the length, width, and height of the room (in feet). The program outputs the amount of paint needed to paint the walls of the room.

For this problem, any dimension may have a fractional (decimal) part, so you should use double in such cases. Make use of a constant where appropriate.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that prompts the user to input the lengths
Reference No:- TGS02654713

Expected delivery within 24 Hours