Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

employee.txt

image text in transcribed

payroll.txt

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+52-3 Discuss the characteristics of emerging adulthood.

Answered: 1 week ago

Question

What is database?

Answered: 1 week ago

Question

What are Mergers ?

Answered: 1 week ago

Question

What lessons in OD contracting does this case represent?

Answered: 1 week ago

Question

Does the code suggest how long data is kept and who has access?

Answered: 1 week ago