Create a planet class. The members of the class will be the planet name, radius and mass which must be private. The member functions must include a get and set function for each member, constructor, and functions to calculate the surface area, density and acceleration due to gravity at the planet's surface. You may optionally include an input and display function.
Write a program that uses your class to generate some test results.