Question: Use basic java. Make it as simple as possible. Write a Java program to convert weight on different planets. Your user will have 3 options

Use basic java. Make it as simple as possible. Write a JavaUse basic java. Make it as simple as possible.

Write a Java program to convert weight on different planets. Your user will have 3 options in a main menu Earth Moon Mars The Earth option will offer the user the option of converting from weight on Earth to weight on Moon or weight on Mars The Moon option will offer the user the option of converting weight on the Moon to weight on the Earth or weight on Mars The Mars option will offer the user the option to convert the weight on Mars to the weight on Earth or the weight on the Moons. Some of these formulas must be researched or you may just convert these formulas. Weight on Moon - (Weight on Earth/9.81) * 1.622 Weight on Mars (Weight on Earth/9.81) * 3.711 You are to do a functional decomposition here - at the very least have methods for input, for processing and for output The goal here is for main() to be self-documenting. Follow the examples from class. You may choose to use JOptionPane for input and output as demonstrated in class. All output should be well-formatted. Arun of your program might look like this (if you were using System.out.println and Scanner) - user input is shown in red: Conversion options: 1. Earth 2. Moon 3. Mars Which conversion would you like to perform? 1 You have chosen Earth conversion. Conversion options: 1. Earth to Moon 2. Earth to Mars Which conversion would you like? 2 Enter the weight on Earth 100 Pound equal to 38 pounds on Mars

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!