Question: Please answer P5.10 in python language. Thank you Def sphere Volume(r) def sphere Surface(r) def cylinder Volume(r, h) def cylinder Surface(r, h) def cone Volume(r,
Please answer P5.10 in python language. Thank you
Def sphere Volume(r) def sphere Surface(r) def cylinder Volume(r, h) def cylinder Surface(r, h) def cone Volume(r, h) def cone Surface(r, h) that compute the volume and surface area of a sphere with radius r, a cylinder with a circular base with radius r and height h, and a cone with a circular base with radius r and height h. Then write a program that prompts the user for the values of r and h, calls the six functions, and prints the results. Write a function def read float(prompt) that displays the prompt string, followed by a space, reads a floating-point number in and returns it. Here is a typical usage. Enhance the int Name function so that it works correctly for value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
