Computers and Technology, 14.02.2021 19:40 jacxirylopez
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++ .
Answers: 1
Computers and Technology, 22.06.2019 11:30
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
Computers and Technology, 24.06.2019 13:30
Which of the following is not a āfatal fourā event?
Answers: 2
Description: In this program you are going to design a program to calculate the cement needed for a...
Physics, 13.12.2022 01:30
Mathematics, 13.12.2022 18:20
Mathematics, 13.12.2022 18:23
Mathematics, 14.12.2022 02:10
Mathematics, 14.12.2022 02:50
Mathematics, 14.12.2022 03:30
Mathematics, 14.12.2022 09:30
Mathematics, 14.12.2022 16:10
Mathematics, 14.12.2022 19:53
Mathematics, 15.12.2022 02:16
Medicine, 15.12.2022 08:40
Geography, 15.12.2022 14:00
Mathematics, 15.12.2022 14:00