Question: Write a Java application that prompts for and reads the radius of a sphere, then print its volume and surface area. Your program have to
Write a Java application that prompts for and reads the radius of a sphere, then print its volume and surface area. Your program have to include the following features: A. The user is able to determine if he/she will continue to run the program. B. The program will detect invalid number for radius, i.e., negative numbers, and ask the user to re-enter the value, until a valid value is entered. C. The output values (volurme, surface area) will have two decimal point places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
