C programming Write a function named CalculateSphereVolume that takes one integer parameter intDiameter. The function should calculate the volume of a sphere with the specified diameter using the following formula: V = 4/3 * Pi * r^3.

Respuesta :

Answer:

not familiar with C++. but basically save the constant 4/3 in a variable and use user input of cin << i  believe to ask for a radius. Then take that radius/input saved in a variable and cube it, then return the value.

Explanation:

i hope this works.

ACCESS MORE
EDU ACCESS
Universidad de Mexico