Question: Create a main program which does the following : a) Create a Kennel instance by calling its constructor with a size of 10; b) Call
a) Create a Kennel instance by calling its constructor with a size of 10;
b) CallPrintDogs()method while the Kennel is empty;
c) Add 5 Dogs to the Kennel (student-provided data). This may be hard-coded or may be entered at runtime by the user, your choice.
d) CallPrintDogs()to show the current Kennel guests
e) Delete 1 Dog (it is being picked up by its person!)
f) CallPrintDogs()to show the current Kennel guests.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
