Question: JAVA PROGRAMMING ------------ ** JAVA PROGRAMMING ------this program must have error checking and make sure user does not enter negative numbers for input This program

JAVA PROGRAMMING ------------

JAVA PROGRAMMING ------------ ** JAVA PROGRAMMING ------this program must have error checking

** JAVA PROGRAMMING ------this program must have error checking and make sure user does not enter negative numbers for input

This program will allow the user to figure what is the minimum velocity he he/she needs to escape a planet - The class name MUST be: EscapeVelocity Ask the user for his/her first name Ask the user for the mass of the planet If the mass entered by the user is less than 101s Kilograms, tell the user even smaller planets are heavier than that and to try again meters, tell the user even smaller planets have bigger radius than that and to try again Use this formula for escape velocity = minimum escape velocity to escape such planet . Ask the user for radius of the planet If the radius entered by the user is less than 1003 . 20m for G use 6.673x101 n d and te

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!