Question: Please adhere to the Programming Standards and the Java Coding Guidelines. Submit the following: List of source code with comments to document Test output listed

Please adhere to the Programming Standards and the Java Coding Guidelines. Submit the following: List of source code with comments to document Test output listed as comments at the end of your program . Sphere Calculations (10 pts). Write an application called Sphere Calculations that calculates the volume and surface area of a sphere. Your code will prompt the user for the radius of a sphere and calculate the volume and surface area. Use the constant Math.PI and the method Math.pow() in all calculations. See the formulas below. Display the volume and surface area with four decimal places. Test data: radius = 4.2 and 7.5 Some Helpful Formulas r represents the radius * 7T Volume of a sphere = 4/3 * Surface area of a sphere = 4* * TT p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
