Question: By using Java program [ Netbeans ] Write a function which takes in the radius of a sphere and calculate its area and its volume.
Write a function which takes in the radius of a sphere and calculate its area and its volume. The formula is: You are encouraged to use a constant for the value of pi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
