Question: I need a Java Program please! Lab 5 Calculate the Gross Pay for an Employee (Inheritance) Purpose : Build an application to calculate Employees Gross

I need a Java Program please!

Lab 5 Calculate the Gross Pay for an Employee (Inheritance)

Purpose: Build an application to calculate Employees Gross Pay. Employees are paid every two weeks. Your company has two types of employees:

1. (H) - Hourly employees who are paid for every hour worked

2. (S) - Salary employees who are paid based on their salary

Problem: Build an application that would allow a user to calculate an Employees Gross Pay. The app will read the two input files (employee.txt and payroll.txt) the employees type (H, S), name (first and last), (hours worked and hourly pay rate or salary). The program then calculates and displays the employees name and gross Pay (see both inputs and outputs listed in the table below).

Language: JAVA (Object-oriented with Inheritance)

 I need a Java Program please! Lab 5 Calculate the Gross

Pay for an Employee (Inheritance) Purpose: Build an application to calculate Employees

Data Requirements Input Fields Data-Tvpe Emplovee Info Employee.txt Employee # Last Name First Name Employee Type (H- Strin Strin Strin Char our Pavroll File Payroll.txt Employee # Strin Hourly Salai Hours worked Pay Rate Hours work Yearly Salary Double Currency or Double Processes Read the Input Files Determine Emplovee Tvpe Match Emplovee Record with Pavroll Calculate Gross Pay (See Calculations below Write the out file Output File Report.txt Employee # Employee's Full Name Hours Worked (Regular/ Overtime hours Paycheck breakdown (Regular Pay Overtime Pa Employee's Gross Pa Advanced 12,Smith,Seth.H, 10,Jones,Adam,S, 19,Davis,Chris,H, 13,Machado,Manny,S, Figure 1-Employee.txt (Input) Data Requirements Input Fields Data-Tvpe Emplovee Info Employee.txt Employee # Last Name First Name Employee Type (H- Strin Strin Strin Char our Pavroll File Payroll.txt Employee # Strin Hourly Salai Hours worked Pay Rate Hours work Yearly Salary Double Currency or Double Processes Read the Input Files Determine Emplovee Tvpe Match Emplovee Record with Pavroll Calculate Gross Pay (See Calculations below Write the out file Output File Report.txt Employee # Employee's Full Name Hours Worked (Regular/ Overtime hours Paycheck breakdown (Regular Pay Overtime Pa Employee's Gross Pa Advanced 12,Smith,Seth.H, 10,Jones,Adam,S, 19,Davis,Chris,H, 13,Machado,Manny,S, Figure 1-Employee.txt (Input)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!