Use C++ classes and virtual methods, organize the animals in a small zoo, having as guests lions, parrots, alligators, penguins, elephants, cobras, zebras, hawks, turkeys and rabbits.
Use 3 properties some of the animals might share and demonstrate overriding of their getter and setter methods.
Write 10 examples of method calls asking the inhabitants of the zoo to perform tasks to which they would answer back either "Doing it!" or "Sorry, I cannot do it".
1
Expert's answer
2014-04-18T12:01:23-0400
Dear customer, Unfortunately, your question requires a lot of work and cannot be done for free. Please submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment