Bonus Lab, Due 11:59 pm Sunday, May 7. Place in a folder titled Bonus together with other bonus assignments

Define classes that satisfy the conditions below and the hierarchy in this diagram Also, write a good test program.

Example: The program

#include ...

//missing definitions
int main( )
{
              leopard l;
              l.talk( );
              l.xivore( );
              system(“pause”);            
              return 0;
}

should produce an output of the following form

animals carnivore cats leopard
leooo
carnivore