Problem:
Question- Write a class that creates a planet in our solar system. A planet has a name, diameter, distance to sun, earth days to complete orbit around sun, and current day in orbit (starting at 0). In addition a planet has the following functions: display() - displays the planet's information incrementDay() - increments day in orbit (when the day reaches or passes the complete orbit, then the day should go back to 0). Write a main program that creates all 8 planets in our solar system.
Display a menu that let's the user view information about any of the 8 planets. Every time the user views information about a planet increment the days on all 8 planets by 365 days. Planet orbit days: Mercury - 88 Venus - 225 Mars - 687 Earth - 365 Saturn - 10585 Jupiter - 4380 Uranus - 30660 Neptune - 60225.
Show the code, demonstrate it works properly and describe what it is doing.