Chapter 9

We want to write a program that will convert your weight on one planet to your weight on another planet. We would like to present the user with a menu to select the planet they are on, and enter their weight on that planet, then ask them the planet they are traveling to, and calculat their weight on the destination planet. The following table will be useful:
PlanetMass (Compared to earth)
Mercury 0.37
Venus 0.90
Earth 1.0
Earth's Moon 0.16
Mars 0.37
Jupiter 2.35
Saturn 0.91
Uranus 0.88
Neptune 1.12
Pluto 0.06

Table from Nasa

                      earth    Bplanet
    Aplanet weight X ------- X -------  =    Bplanet weight
                     Aplanet    earth

The Switch Statement

The Do-while loop

Break and Contiune

look at problems 1, 2, and 4 on page 465, 467