Create Class Named Pond Two Member Objects Frog Object Duck Object Addition Aso Member Var Q37123558

Create a class named Pond that has two member objects: a Frog object, and a Duck object, in addition to this, it aso has a meCreate a class named Pond that has two member objects: a Frog object, and a Duck object, in addition to this, it aso has a member variable named name, to allow you to name your Pond. Frog has two member variables: string typ int age Duck has two member variables: string color double weight: Write the code for all three classes. You will need to determine what functions are necessary to initialize

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.