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 1: Planet
a- Based on the topic your team selected, define a class that is relevant to that topic.
b- Class Requirement:
1- Your class should have at least 4 data members with the following data types:
Member 1: a string
Member 2: an integer
Member 3: a Boolean
Member 4: a character.
Member 5: Anything else you need.
2- 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: -
1,Equal:0,1 Greater:1)
3- Implement your class in 2 separate files YourClassName.h and YourClassName.cpp
4- Create a driver.cpp file in which your function main() will be defined.
In the main():
a) Create 3 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.
6- Fill the project documentation file and return with your code.
my topic is planet, i am confused so please help me with this.
 Project Deliverable 1: Planet a- Based on the topic your team

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!