develop a program that outputs the user's weight on different planets. However, write the program using a class to represent the planet and its gravity. The class should include a constructor that allows a planet to be specified with a string, using any capitalization (if the string is not a planet name, then Earth should be assumed). The default construtor for the class will create an object representing Earth. The class has an observer operator that takes a weight on Earth as an argument and returns the weight on the planet. It should have a seond observer that returns the name of the planet as a string with proper capitalization.

I believe I can do this program, if only I understood what it is asking me to do specifically. Thank you in advance to whoever contribute their time into reading and replying to this message.