subject

Description: In this program you are going to design a program to calculate the cement needed for a foundation. Flowchart the logic of the program. The user will prompted to enter the customer name, size of the foundation and the distance from the build site. Requirements:

1. Output must be labeled and easy to read as shown in the sample below.

2. Naming convention should be followed for all variables.

3. Program must be self-documenting with comments and meaning variable names.

More Requirements:

1. Prompt the customer for their company name. Use getline to capture the company name

2. Prompt the customer to enter the width, length, and depth of the foundation. To make the formula easier enter everything in feet.

3. To calculate the number cubic feet, multiple width x length x depth. Divide the total by 27 to get the number of yards.

4. Each truck can only haul 8 cubic yards. Calculate how many truckloads you will need.

5. Round the number of truck loads up. For example, if the job site needs 2.4 truck loads you will need to purchase 3 truckloads. Each truckload cost $725.63 (there are not partial loads)

6. Prompt the customer to enter the number of miles the cement company is from the job site.

7. Calculate the distance cost by multiplying the number of miles by $10.33.

8. Calculate the total cost to pour the foundation.

9. To drum up more busines the owner decided to add a random discount to all orders. To calculate the discount, generate a random number between 1 and 10. Divide that number by 100 to get the discount.

10. All decimals must line up in the output. You might want to check out StackOverflow for an example

https://stackoverflow. com/questions/57828082/c-cout-list- with-decimals-aligned-using-setwx-n ot-put-money

11. Flowchart the program.

I HATE C++ .

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 10:00
Install and use wireshark program ( send back screen shots and other vital information) case project 3-2: decode a tcp segment in a wireshark capture in this chapter, you walked through tcp segment to interpret the data included in its header. in this project, you use wireshark to capture your own http messafes, examine the tcp headers, and practice interpreting the data you'll find there. 1. open wireshark and snap the window to one side of your screen. open a browser and snap that window to the other side of your screen so you can see both windows.
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
Text or graphics that print at the bottom of every page are called footings footers headers headings
Answers: 1
question
Computers and Technology, 24.06.2019 23:40
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
question
Computers and Technology, 25.06.2019 12:00
Jenny is the project manager and her company. she needs to break her current project into parts that her employees can work on. if jenny brings her project into as many small parts, but will lead to? a. increased quality control b. macro-management c. project disruption d. micro-management
Answers: 1
You know the right answer?
Description: In this program you are going to design a program to calculate the cement needed for a...
Questions
question
Mathematics, 23.06.2019 22:00
question
History, 23.06.2019 22:00
question
Health, 23.06.2019 22:00
Questions on the website: 13722367