write functions double sphere_volume(double r) double sphere_surface(double r) d
ID: 3644153 • Letter: W
Question
write functionsdouble sphere_volume(double r)
double sphere_surface(double r)
double cylinder_volume(double r, double h)
double cylinder_surface(double r, double h)
double cone_volume(double r, double h)
double cone_surface(double r, double h)
that compute the volume and surface area of a sphere with radius r, a cylinder with 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.