1 2 3 4 5 6 7 8 9 10
|
cout << fixed << setprecision( 2 );
vector < Employee * > employees( 4 );
employees[ 0 ] = new Manager(
"Jack", "Jackson", "123", 800 );
employees[ 1 ] = new EntryLevelEmployee(
"Adrian", "Kiefer", "234", 16.75, 40 );
employees[ 2 ] = new SalesRep(
"Crystal", "Jones", "456", 10000, .06 );
employees[ 3 ] = new SalesManager(
"Robert", "Robertson", "678", 5000, .04, 300 );
|