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)
- The ratio of length and width.

Ex. If the ratio is 3 to 2, have the program accept a 3 then a 2. Then compute the ratio using these numbers.

The program then outputs:

The length and width of the patio (in feet). (1 cubic yard = 27 cubic feet.)

To find the square root of a decimal number, include the header file cmath using the statement #include, in your program.

The function sqrt, included in this header file, determines the square root of a decimal number.

This answer was edited.