Create a main program which does the following : a) Create a Kennel instance by calling its
Fantastic news! We've Found the answer you've been seeking!
Question:
Create amain programwhich does the following :
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.
Posted Date: