Reference no: EM13162471
complete the payroll program with the following driver objects.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//Initialize the vector with the following employee objects:
// initialize vector with the following Employees in driver program:
// create vector of three base-class pointers
vector < Employee * > employees( 3 ); employees[ 0 ] = new SalariedEmployee(
"John", "Smith", "111-11-1111", 6, 15, 1944, 800 );
employees[ 1 ] = new CommissionEmployee(
"Sue", "Jones", "333-33-3333", 9, 8, 1954, 10000, .06 );
employees[ 2 ] = new BasePlusCommissionEmployee(
"Bob", "Lewis", "444-44-4444", 12, 2, 1965, 5000, .04, 300 )