Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
Volume of a cylinder: V-2 hStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started