Question: Answer in C++ please!!! Define the Animal class's GetSpecies() accessor that gets data member species and the GetAge() accessor that gets data member age. Ex:
Answer in C++ please!!!

Define the Animal class's GetSpecies() accessor that gets data member species and the GetAge() accessor that gets data member age. Ex: If the input is bear 5 , then the output is: Animal: bear Age: 5 years old
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
