Question: Each class must have its own .cpp and .h files. All classes must have default constructors and a second constructor that sets all of its

Each class must have its own .cpp and .h files.
All classes must have default constructors and a second constructor that sets all of its attributes. When any Pet is constructed, it should output: Im
Write a program to use pointers, allocation, and new to perform the following. Create a dog named Lassie with breed of Collie color of Brown Create a dog name Ruby, with a breed of Mixed with a color of silver Change Rubys breed to Labrador Change Rubys color to Chocolate Create a bird named Tweety, with .6 ft wingspan and color Yellow Create a bird named Donald Duck, with a 0 wingspan and color white Change wingspan of Donald Duck to 1.5 feet. Have Lassie bark Have Ruby bark Free Ruby and Lassie . Have Tweety fly 250 ft. Have Donald Duck fly 18 ft. Free Donald Duck. Cout Create Clacese to imnloment the I IMI diacram helnur
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
