Question: just updated the picture, please help Description A contractor orders, say, 30 cubic yards of premixed concrete to construct a patio that is to be,

just updated the picture, please help Description A contractor orders, say, 30just updated the picture, please help

Description A contractor orders, say, 30 cubic yards of premixed concrete to construct a patio that is to be, say, four inches thick. The length of the patio is to be, say, twice the width. Write a program that prompts the user to specify the amount of premixed concrete (in cubic yards) ordered, the thickness of the patio (in inches), and the ratio of length and width. The program then outputs the length and width of the patio (in feet). (1 cubic yard equals 46656 cubic inches). (To find the square root of a decimal number, include the header file ath using the statement #include in your program. The function sqrt included in this header file determines the square root of a decimal number. For example sqrt(16.0) -4.0.) Specifications In order to get full credit, your code must contain/perform the following Variables with correct type with meaningful names (All variables wll be of type double) . Comment your code, comment the variables and parts of code for input, output, and calculations Program must compile and run with any input Sample Output u-10-81-167-9 Asst03 VaskoDaGamer$ g++ Asst03. cpp u-10-81-167-9: Asst03VaskoDaGamer./a.out Enter cubic yards of premixed concrete ordered 30.0 Enter thickness of patio in inches: 4.0 Enter length to vidth ratio:0.5 Length: 418.282 inches Width 836.564 inches u-10-81-167 -9: Asst03 VaskoDaGamer$ ./a.out Enter cubic yards of premixed concrete ordered: 24.6

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!