Question: Pyhon 3 Assignment Write a program to calculate the cost per cubic foot to completely fill (to the top!) an above ground, round pool. Assume

Pyhon 3 Assignment

Write a program to calculate the cost per cubic foot to completely fill (to the top!) an above ground, round pool. Assume that the height of the pool is four feet. Accept from the user the diameter of the pool and the total cost of the water. Print the cost of the water per cubic foot.

(Do not use data structures, functions, or Python statements we have not covered in class.)

Test Case: Diameter = 12 and water cost = 500 --> 1.105

Use the following formula:

Pyhon 3 Assignment Write a program to calculate the cost per cubic

Volume of a cylinder: V-2 h

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!