The purpose of PlanetGravity.java is to print out the data of all the planets and calculate gravity. The purpose of PlanetWeight.java is to use the user's weight on Earth to calculate their weight on other planets and then display the planet data.
bmberger / planetweight-gravity Goto Github PK
View Code? Open in Web Editor NEWThe purpose of PlanetGravity.java is to print out the data of all the planets and calculate gravity. The purpose of PlanetWeight.java is to use the user's weight on Earth to calculate their weight on other planets and then display the planet data.