Question: - C++ - Separate the programs into three files (header class, source class, main class) - We will create a class of Animal. First design

- C++

- Separate the programs into three files (header class, source class, main class)

- We will create a class of Animal.

First design the class diagram for an Animal

Create a class named Animal

Create a Main Menu:

Add a New Animal

View All Animals entered

Exit

Tips

An Animal should have at least four member variables (examples: name, weight, color, amount of legs, etc.)

All class functions should be well defined in the scope of this lab.

Evaluation:

- Ask the user of your application for all the animal details.

- Print in the console all the information previously entered by the user.

- Create a class called animal.

- Incorporate the class to main menu with the use of global variables.

- Organized code with comments.

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!