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 11:30
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of β€œtag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
question
Computers and Technology, 24.06.2019 13:20
3. ranga ramasesh is the operations manager for a firm that is trying to decide which one of four countries it should research for possible outsourcing providers. the first step is to select a country based on cultural risk factors, which are critical to eventual business success with the provider. ranga has reviewed outsourcing provider directories and found that the four countries in the table that follows have an ample number of providers from which they can choose. to aid in the country selection step, he has enlisted the aid of a cultural expert, john wang, who has provided ratings of the various criteria in the table. the resulting ratings are on a 1 to 10 scale, where 1 is a low risk and 10 is a high risk. john has also determined six criteria weightins: trust, with a weight of 0.3; quality, with 0.2; religious, with 0.1; individualism, with 0.2; time, with 0.1; and uncertainity, with 0.1. using the factor-rating method, which country should ranga select? why? (2 points)
Answers: 3
You know the right answer?
Description: In this program you are going to design a program to calculate the cement needed for a...
Questions
Questions on the website: 13722361