Answered step by step
Verified Expert Solution
Question
1 Approved Answer
employee.txt payroll.txt i also need a uml class diagram and crc for it Purpose: Build an application to calculate Employees Gross Pay. Employees are paid
employee.txt
payroll.txt
i also need a uml class diagram and crc for it
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 calculatc an Employcc's Gross Pay The app will read the two input files (employee.txt and payroll.txt) the cmployce's type (H, S). name (first and las), hours worked and hourly pay rate or salary. The program then calculates and displays the cmploycc's namc and gross Pay (see both inputs and outputs listed in the table below). Language: JAVA (Object-oriented with Inheritance) Danta Reuirements Input Flelds Data-Type Inla Employee Last Namc: irst Narne: TmplDyee Type (H String String Strin ChaT | Innrly:S-Salary) Payroll Flle Pavroll.txt Hourly Salary Hours worked Pay Ratc Hours work Ycarly Salary Double Currency 0 Doublc Read the Input Tiles Dctcrminc Employce Type Mateb E Record with Pavroll See Calcl ins belea) Write the nut tile tFlle Report.txt limployee's l'ull Nime Hours worked Regular /Ovetinc hours Paycleck brcakdown Pav Overtime Pay loyee's Gos Piy Advanced 12.Smith Seth.H. l0,Jones.Adam.S. 19,Davis.ChrisH. 13,Machado,Manny,S, igure 1-Employee.txt (Input)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started