Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Program 432a (galactic weight) Program Description: As space travels venture to the various planets and the moon in our galaxy their weight will vary....
.25
Be sure to run at least 5 test selections, including an invalid selection and include them all in your output.
Statements Required: input, output, loop control, decision making, array, method, class
Be sure to print out the planet the user selected. See the sample output below.
Sample Output:
Convert your weight on earth to:
1. Mercury
2. Venus
3. Moon
4. Mars
5. Jupiter
6.
Saturn
7. Neptune
8. Pluto
9. Quit
Select a destination by number (or 9 to quit) 7
Enter your weight: 160
Your weight on Neptune would be 179.2 pounds
Convert your weight on earth to:
1. Mercury
2. Venus
3. Moon
4. Mars
5. Jupiter
6. Saturn
7. Neptune
8. Pluto
9. Quit
Select a destination by number (or 9 to quit) 11
Enter your weight: 160
Error--Invalid destination