akosiraff

Download CIS247 Week 6

Jun 13th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/cis247-week-6/
  3. Create a new project and name it CIS247C_WK6_Lab_LASTNAME. Copy all the source files from the Week 5 project into the Week 6 project.
  4. Before you move on to the next step, build and execute the Week 6 project.
  5. STEP 3: Modify the Employee Class
  6. Define calculatePay() as a pure virtual function. Define displayEmployee() as a pure virtual function. When class Employee contains two pure virtual functions, it becomes an abstract class.
  7. STEP 4: Create Generalized Input Methods
  8. Reuse method getInput() from the previous iLab to prompt the user to enter Employee information.
  9. STEP 5: Modify the Main Method
  10. Create two employee pointers with:
  11. Employee * Salaried(10000,3); Employee * Hourly(50, 40, “full time”);
  12. The first employee pointer refers to a salaried employee and the second employee pointer refers to a hourly employee.
  13. Prompt the user to enter information for these two pointers and display the calculated result.
  14. For salaried employee, the following information needs to be displayed:
  15. Partial Sample Output:
  16. Screenshot of program output that reads: Employee Information ________________________________________ Name: Nana Liu Gender: F Annual Salary: 60000.00 Weekly Salary: 1500.00 Benefit Information ________________________________________ Health Insurance: PPO Life Insurance: 1.50 Vacation: 21 days Salaried Employee Management level: 3
  17. For hourly employee, the following information needs to be displayed:
  18. Partial Sample Output:
  19. Screenshot of program output that reads: Name: Jackie Chan Gender: M Dependents: 1 Annual Salary: 100000.00 Weekly Salary: 2000.00 Benefit Information ________________________________________ Health Insurance: HMO Life Insurance: 100.00 Vacation: 18 days Hourly Employee Category: full time Wage: 50.00 Hours: 40.00
  20.  
  21. Download: http://solutionzip.com/downloads/cis247-week-6/
Add Comment
Please, Sign In to add comment