Calculate payroll for department and employee

Assignment Help JAVA Programming
Reference no: EM132080166

You need help writing a Java program.

Lab - Calculate Payroll for Department and Employee

Purpose: Build an application to calculate an Employee's Gross Pay and a Department's Average Pay Report

Requirements: Build an application that would allow the end-user to calculate an Employee's Gross Pay and the Department's average Gross Pay Report.

First, the user will enter each employee's name, hours worked and hourly pay rate into parallel arrays. Then the application calculates and displays each Employee's Full Name and Payroll Information (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:

1. 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)

Table 1- Data Requirements

Data Requirements
Input
Fields
Data-Type
Example
Employee Info
First Name:
String
Joe
Last Name:
String
Smith
Regular Hours Worked
Double
55.5
Pay Rate
Currency or Double
12.50
Processes
Enter Employee's Name
Enter Regular Hours
Enter Overtime Hours
Enter Pay Rate
Calculate Gross Pay
Output
(output Format see below)
Employee's Full Name
Hours
Pay Rate
Employee's Gross Pay
Department Ave Pay
Table 2-Output Format
Name
Hours
Pay Rate
Gross Pay
Smith, Joe
40
$ 10.00
$ 400.00
Smith, Sally
30
$ 20.50
$ 615.00
Smith, Chris
50
$ 10.00
$ 550.00
Department Average
$ 521.67

Deliverables:

I. Copy the following into one Microsoft Word document (using same file naming conventional as zip file below): Make sure to follow lab submittal instruction in the checklist
1. Algorithm / Pseudocode
2. Source Code - The printed copies of your files - the code that you wrote
3. Screen Print of your running application
4. UML - Use Case

II. Zip all Java files (complete folder) into one Zip file (not a rar)
1. named YourName-Lab#X
i. #X = Lab Number
ii. YourName = Your Name
iii. (ie Jesse-Lab2)

III. In Canvas (All files must be in one Upload)
1. Word document from above (See Section I) (xxx.docx)
2. Zip file (xxx.zip)

Reference no: EM132080166

Questions Cloud

Display the content of a file by a system call : In "decoding.c", you have a function "decoding" which opens "HW8.bin" for reading and a text file "HW8c.txt" for writing.
Write a program which validates a users password : You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible .
Why should policymakers care about gdp : Despite the fact that GDP is not a flawless measure of prosperity, policymakers ought to think about it in light of the fact that a bigger
Graph the demand and supply curves : a. Graph the demand and supply curves. What is the equilibrium price and quantity in this market?
Calculate payroll for department and employee : Build an application that would allow the end-user to calculate an Employee's Gross Pay and the Department's average Gross Pay Report.
Make a program that has an array of at least 20 integers : Write a program that has an array of at least 20 integers. It should call a function that uses the linear search algorithm to locate one of the values.
Write a program that plays a simple card game with one : Write a program that plays a simple card game with one human player and one computer player. The game uses a deck of 52 cards.
Implement a priority queue class that does two types of sort : You need to implement a priority queue class in C++ that does two types of sorting, one selection sort and the other insertion sort.
What is the opportunity cost of investing in capital : What is the opportunity cost of investing in capital?

Reviews

Write a Review

JAVA Programming Questions & Answers

  supply a student tester class that tests all methods

Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and methods getName( ), addQuiz(int score), getTotalScore( ), and getAverageScore ( ).

  Implement a javascript program for the validation case

Write a JavaScript program for the validation case using the RegExp method - implement a JavaScript program for the validation case

  Write a javascript program that will print prime numbers

Write a JavaScript program that will print all the prime numbers between 1 and 100. You will need to use looping and functions.

  Design a program that will gather a group of floating point

Design and implement a Java program that will gather a group of floating point numbers and determine the sum and average of the data entered.

  Prepare a java program to play pig

Pig is a two player game where the players take turns repeatedly rolling a single 6 sided die. A player repeatedly rolls the die until one of two events happen:

  Design the interface classes drawable rotatable and sounds

Design the interface classes Drawable, Rotatable, Resizable and Sounds. Compare and contrast abstract classes and interfaces. In what situations would you use an abstract class? in what situations would you use an interface?

  Generate and manipulate music and images

Arrays are a fundamental and versatile tool for representing data of all shapes and sizes In this assignment, you'll see how arrays can be applied to generate and manipulate music and images.

  Social networking and bookmarking sites

How do social networking and bookmarking sites affect Internet users' personal interactions with the Internet? As a Web designer, how can you take advantage of these trends?

  Create an object-oriented and menu-driven java program

300581: Programming Techniques - be object-oriented utilising the classes described in section B (iv) as a minimum. Other classes may also be needed to solve

  Java program that will prompt the user to input a file

Write a Java program that will prompt the user to input a file (document) in order to count the frequency of each word. This program will display the frequency of each word sorted alphabetically or by frequency (depending on the preference of the use..

  Write a program that that keeps track of sales of an item

Write a program that considers a class that keeps track of the sales of an item. An object of this class will have the attributes.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd