Question: Project Deliverable 1 : Planet a - Based on the topic your team selected, define a class that is relevant to that topic. b -
Project Deliverable : Planet
a Based on the topic your team selected, define a class that is relevant to that topic.
b Class Requirement:
Your class should have at least data members with the following data types:
Member : a string
Member : an integer
Member : a Boolean
Member : a character.
Member : Anything else you need.
Your class should have all necessary function members to manipulate the data members.
A default constructor
A parameterized constructor
All setters and getters
A printobject function member that prints the values stored in an object.
A comparison function Compare that takes two objects of the class and returns less:
Equal: Greater:
Implement your class in separate files YourClassName.h and YourClassName.cpp
Create a driver.cpp file in which your function main will be defined.
In the main:
a Create objects of your class and initialize them with relevant information.
b Use the function member printobject to display their values.
c Use the function member Compare to compare two of the objects you created.
Fill the project documentation file and return with your code.
my topic is planet, i am confused so please help me with this.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
