Write a program that prompts the user to input the lengths

Assignment Help Computer Engineering
Reference no: EM131859215

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.

Reference no: EM131859215

Questions Cloud

What types of things would you need to do well in order : What types of things would you need to do well in order for your project to work within a matrix organization? Justify your responses.
Law enforcement officers in communities : What are some of the challenges faced by law enforcement officers in communities.
Managing criminal justice : What do you think are the three most important traits that an effective leader must have? Justify your response. book, managing criminal justice
Explain why this inconsistency tends to exist : For many years, health care organizations, as well as traditional businesses, have been frustrated that high customer satisfaction scores .
Write a program that prompts the user to input the lengths : 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.
Describe several problems confronting women : Describe several problems confronting women and minorities in attempting to integrate into the police work environment.
Do we have to use different ones for each type of process : Can one control chart work for both of these processes, or do we have to use different ones for each type of process?
How should roles be selected for the emergency : How should roles be selected for the Emergency Operations Center (EOC)? Is seniority is less important than experience? Give examples?
How to utilize javascript to persist and manipulate data : Demonstrate an understanding of how to utilize Javascript to collect, persist and manipulate data and to respond to user interactions to dynamically change DOM.

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to measure performance in the unreal engine

Write a short report explaining how to measure performance in the Unreal Engine. After this, record and report the performance difference between 100 dynamic lights as opposed to 100 baked lights.

  What is a task pane

What are the different kinds of Window controls? What is the purpose of each.

  What is the significance of optimizing the design

What is the significance of optimizing the design

  In brief describe rudimentary nms

Briefly explain rudimentary NMS (network management system) software components and the software applications that are required to support a network system.

  How to create a set in third normal

How to create a set in third normal RESERVATION(reservation id, date of reservation, start date, end date, (( customer id, customer name, customer address, customer type, customer type description, ((customer preferences)), customer credit card n..

  The program shall test to ensure that there is a punched in

The program shall test to ensure that there is a ‘Punched in' record for the corresponding day before a ‘punched out' record is saved. If none is found, prompt the user to enter a ‘punched in' time.

  A robot has a position and a method

A robot has a position and a method void move (Maze m) thatmodifies the position. Provide a common superclass Robot whose move method does nothing

  Describe the four steps of a typical plc processor scan

The actual scan time, or time it takes the PLC to complete a four-step scan, decreases as the number of program words increases.

  Questionwhen running snort ids why may there be no alertsif

questionwhen running snort ids why may there be no alerts?if we only went to a few web sites why are there so several

  Create a storyboard diagram depicting layout of your website

Create a storyboard diagram depicting the layout of your Website. Create a narrative that describes the site to your prospective client.

  Which products must be restocked

The database includes fields for record number, store identification number, sales region, item number, item description, unit price, units sold, and weekly sales period when the sales were made.

  Compute analysis of laminar thermal entry flow

Compute analysis of laminar thermal entry flow in a circular pipe with to = cost and constant fluid properties: Calculate the flow and construct plots.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd