Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hy I need to do this program in C++ language and I need to submit this today. Human class Create a Human class with the

Hy I need to do this program in C++ language and I need to submit this today.

Human class

Create a Human class with the following features:

  • Each Human needs a name, an age, and some phrase that they say.
  • Each Human needs appropriate getters and setters for all attributes.
  • For every interaction with this human, increment the age by 1 year.
  • Default constructor with no arguments.
  • Constructor that takes name, age, and phrase arguments.

Human Source Code

The Human class must to be defined in a header file with no implementation. Additionally, create an implementation file with all of the Human implementation code.

See the provided Die class example for an example of this format.

Driver

Create a driver to demonstrate all of the features of your Human class. The driver is the only class with main().

The driver must create a dynamic array of Human Objects of some user defined size. This requires prompting the user for a number of Humans to create.

Be sure to iterate through your array of Humans. Interact with every Human object. Demonstrate ALL features of the Human class.

Deliverables

Provide three source files for your project: Human.h, Human.cpp, and driver.cpp.

Provide screenshots of your driver output. (10% of score)

Submit only your own original work before the posted due date on Blackboard. Late or unoriginal work will not be accepted.

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago