Question: Use a class constructor to initialize values for weight to 100 pounds. Program should let the user know the execution with a default value for
Use a class constructor to initialize values for weight to 100 pounds. Program should let the user know the execution with a default value for the program. Output all weight conversions in pounds and with the default value if the user enters an amount
Create class called Weight; create getter and setter methods that will solve the problem of planetary body conversion. Use main to organize the execution of the program; program will not close until user selects quit option; program will prompt user with the menu only if the weight input is valid for conversion.
Calculate user's weight on Mercury, Venus, Mars and Earth's moon. Validate user before performing calculations.
Use if / else ladder to create value.

Weight Conversion Program: * Enter # to run program or Quit 1) Earth Moon Weight 2) Mercury Weight 3) Venus Weight 4) Mars Weight * 5) Quit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
