Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here's the input Purpose: Build an application to calculate an Employee's Gross Pay and a Department's Total Gross-Pay- Out Report. This lab will be a

image text in transcribed

Here's the input

image text in transcribed

Purpose: Build an application to calculate an Employee's Gross Pay and a Department's Total Gross-Pay- Out Report. This lab will be a file-processing lab based off chapter #7 Requirements: Build an application to allow a department to calculate each Employee's Gross Pay and the Department's Total Gross-Pay-Out Report. First, the application will read information from the input file (Employees.txt). The app reads for each employee (name, hours worked and hourly pay) into parallel arrays. Then the application calculates gross pay and writes each Employee's Full Name and Payroll Information to the output file (Payroll txt) (see both inputs and outputs listed in the tables below). Assumptions: 1. Assume your department has 10 employees (or less). 2. Gross Pay (Regular hours pay rate) + (Over Time hours pay rate 1.5) a. Regular hours are less than or equal to 40 Language: JAVA Techniques: Your successful program will implement the following program techniques . Arrays and Array Processing-(Arrays will hold employee information) 2. Methods -(Most of your process should be in methods) 3. Decisions - (Enter only hours worked Your application calculates regular and overtime hours) 4. Loops (For processing each employee) 5. Files Processing - (Input file Employees.txt Output file- Payroll.txt) Table 1- Data Requirements Data Requirements Input Employee Info Input File Employees.txt Fields Data T En First Narme Last Name Total Hours Worked Pav Rate tring Double Currency or Double Seth Smith 55.5 12.50 Processes Read Input Record Calculate Gross Pay Write Out Records Output Output File Payrolltxt Format see below) Employee's Full Name Pay Rate Employee's Gross Pay Department Total Gross Pay Build in GUI Advanced Smith Joe,40,10.00

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

Step: 3

blur-text-image

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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions

Question

7. Discuss the key features of the learning organization.

Answered: 1 week ago