Given sphereRadius and piVal, compute the volume of a sphere and assign sphereVolume with the result. Use (4.0 / 3.0) to perform floating-point division, instead of (4 / 3) which performs integer division.
Volume of sphere = (4.0 / 3.0) π r3 (Hint: r3 can be computed using *)
1
Expert's answer
2020-09-04T05:55:57-0400
Dear tanmay, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Great work
It help a lot
Leave a comment