home *** CD-ROM | disk | FTP | other *** search
- //
- // member function definitions
- // added by the user
- //
- #include "impl.h"
- #include "user.h"
- #include <iostream.h>
-
- company JCN;
-
- main() {
- JCN.addManager("Bill", 40, 15);
-
- JCN.addProgrammer("Bob", 25, 35);
-
- JCN.addProgrammer("Julie", 30, 35);
-
- JCN.addOvertime("Bob", 10);
-
- if ( JCN.payRoll() == 4300 ) {
- cout << endl << "Test Successful." << endl;
- return 0;
- }
- else {
- cout << endl << "Test Failed." << endl;
- return 1;
- }
- }
-