Code /* * democlass2.cpp * CIS 250 * David Klick * 2005-01-24 * * Demonstration of header files and class usage */ #include "Employee.h" int main(void) { Employee emp[5]; // set members of emp1 and display emp[0].setfields("Smithson", 1786, 32.00, 3, 3, 1996); emp[1].setfields("Guimond", 3654, 17.95, 4, 2, 2004); emp[2].setfields("Crenshaw", 9812, 14.00, 11, 1, 2000); emp[3].setfields("Lovitz", 17543, 27.25, 7, 10, 1999); // use assignment operator emp[4] = emp[0]; for (int i=0; i<5; i++) { emp[i].print(); } return 0; }