Question: i need help with this prgram in c progamming using visual studios A concrete company wants to estimate what it will cost a customer to

i need help with this prgram in c progamming using visual studios

i need help with this prgram in c progamming using visual studios

A concrete company wants to estimate what it will cost a customer

A concrete company wants to estimate what it will cost a customer to have a driveway poured. They can pour a 3 inch deep 200 sq. ft. driveway in 3 hours, and they charge $50.00 per hour as their labor rate. Write a program to ask the user for the length of the driveway (in feet), and the width of the driveway (in feet) to be poured. For both the length and width, make sure the number entered is a non-zero positive number, and continue to ask the user for the value until a valid number is entered. Then, using 5 different functions, calculate The square footage of the driveway The number of hours required to pour the driveway The cost for the concrete to pour the driveway The labor charges to pour the driveway The total cost to pour the driveway Create global constants for: .The number of square feet that can be poured in 3 hours (200) The number of hours required to pour 200 sq. ft. (3) The labor rate ($50.00/hr.) The price for 1 cubic yard of concrete ($90.00) Any other numbers used in your program And, in the function to calculate the cost of the concrete, create a local constant for: The number of 3 inch deep square feet in 1 cubic yard of concrete (108) The program will display: The square footage of the driveway The number of hours to pour the driveway The price for the concrete The total cost to pour the driveway DO NOT pre-calculate the number of square feet that can be poured in 1 hour-use the 2 constants (of .The labor charges Hints: 200 and 3) and let the program calculate the number(in case a new crew is hired that can pour more than 200 square feet in 3 hours) Validation error messages are indented 3 spaces Have a blank line between the inputs and the output Functions, just as the main) program, should have comments Value-returning functions should not get input or display output Watch out for integer division Don't forget the function prototypes (if necessary) .Don't forget the blank line before 'Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!