Question
 
  
$20.00

  • From : Computer Science
  • Due date on 11:59 PM
  • Asked on Apr 10, 2012 04 : 16 AM
Asked By:
Smile  
Rating (6) : A
Question asked : 0
Tutorial Posted : 1831
Earned : $1348.55
Q :

IT/218 INTRODUCTION TO C/C++

IT 218 Week 9 Final Project: Datamax, Inc. Overtime Pay Program

 

  • Resources: Appendixes A & D

 

  • Examine the following situation:

 

    • Your company, Datamax, Inc., is in the process of automating its payroll systems. Your manager has asked you to create a program that calculates overtime pay for all employees. Your program must take into account the employee’s salary, total hours worked, and hours worked more than 40 in a week, and then provide an output that is useful and easily understood by company management.

 

  • Compile your program utilizing the following background information and the code outline in Appendix D.
  •  

Submit your project as an attachment including the code and the output.

 

Company Background:

 

  • Three employees: Mark, John, and Mary
  • The end user needs to be prompted for three specific pieces of input—name, hours worked, and hourly wage.
  • Calculate overtime if input is greater than 40 hours per week.
  • Provide six test plans to verify the logic within the program.
  • Plan 1 must display the proper information for employee #1 with overtime pay.
  • Plan 2 must display the proper information for employee #1 with no overtime pay.
  • Plans 3-6 are duplicates of plan 1 and 2 but for the other employees.

 

Program Requirements:

 

  • Define a base class to use for the entire program.
  • The class holds the function calls and the variables related to the overtime pay calculations.
  • Define one object per employee. Note there will be three employees.
  • Your program must take the objects created and implement calculations based on total salaries, total hours, and the total number of overtime hours. See the Employee Summary Data section of the sample output.

 

Logic Steps to Complete Your Program:

 

  • Define your base class.
  • Define your objects from your base class.
  • Prompt for user input, updating your object classes for all three users.
  • Implement your overtime pay calculations.
  • Display overtime or regular time pay calculations. See the sample output below.
  • Implement object calculations by summarizing your employee objects and display the summary information in the example below.

 

Sample Output:

 

Welcome to the Employee Pay Center

 

Enter the employee name = John

Enter the hours worked = 44

Enter his or her hourly wage = 3.33

 

Enter the employee name = Mary

Enter the hours worked = 33

Enter his or her hourly wage = 2.22

 

Enter the employee name = Mark

Enter the hours worked = 29

Enter his or her hourly wage = 2.22

 

Employee Name ............. = John

Base Pay .................. = 133.20

Hours in Overtime ......... = 4

Overtime Pay Amount........ = 19.98

Total Pay ................. = 153.18

 

Employee Name ............. = Mary

Base Pay .................. = 73.26

Hours in Overtime ......... = 0

Overtime Pay Amount........ = 0.00

Total Pay ................. = 73.26

 

Employee Name ............. = Mark

Base Pay .................. = 64.38

Hours in Overtime ......... = 0

Overtime Pay Amount........ = 0.00

Total Pay ................. = 64.38

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% EMPLOYEE SUMMARY DATA%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Total Employee Salaries ..... = 290.82

%%%% Total Employee Hours ........ = 106

%%%% Total Overtime Hours......... = 4

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Attechments

  
   Available tutorial
 
  

$20.00
IT 218 Week 9 Final Project: Datamax, Inc. Overtime Pay Program
  • This tutorial hasn been purchased This tutorial hasn't been purchased yet without any rated
  • Posted on Apr 10, 2012 04 : 04 AM

A : Preview :

plz...

The full tutorial is about 5 words long plus attachment
Attachments : 1334056594ScreenShot_Outtput.jpg
1334056594EmployeeClass.cpp
1334056594Test Plans.docx      Preview
#1Welcome to the Employee Pay CenterEnter the employee name = JohnEnter the hours worked

Posted By:
Smile  
Rating (6) : A
Question asked : 0
Tutorial Posted : 1831
Earned : $1348.55