Java example of code 9.6

Please enter the Radius to calculate the volume of a sphere: