-1

can anyone please help me to solve my program.....its saying write a program that determines your weight on another planet.The program should ask for the users, weight on earth. then present a menu of the other planet in pur solar system. the user should choose one of the planets from the menu and use a switch statement to calculate the weight on the shosen planet. use the following conversation factor for the other planet
mercury 0.37
venus 0.88
march 0.38
jupiter 2.64
saturn 1.15

Votes + Comments
help is not a thread title, no matter how many times you repeat it
4
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by Salem
0

i assume you know the equation linking weight, mass and gravity then?

If you do then its very simple (if your using c++)

Use switch for the menus (get them to type in the number of the option they want) - use cin and cout for I/O.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.