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, 22.06.2019 08:10
Alook-up table used to convert pixel values to output values on a monitor. essentially, all pixels with a value of 190 or above are shown as white (i.e. 255), and all values with a value of 63 or less are shown as black (i.e. 0). in between the pixels are scaled so that a pixel with a value p is converted to a pixel of value 2/127 โˆ’+3969). if a pixel has a value of 170 originally, what value will be used to display the pixel on the monitor? if a value of 110 is used to display the pixel on the monitor, what was the original value of the pixel?
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible.restrictions: branches or loops should not be used. the code must use the internal mod and logical functions.hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible.this is matlab
Answers: 2
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, 24.06.2019 08:30
question
Mathematics, 24.06.2019 08:30
question
English, 24.06.2019 08:30
question
History, 24.06.2019 08:30
question
Mathematics, 24.06.2019 08:30
question
Mathematics, 24.06.2019 08:30
Questions on the website: 13722367