Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

Describe your first impressions of SAP.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago