Payroll calculator application, JAVA Programming

Assignment Help:

Payroll Calculator for Both Hourly and Commission Employees

In assignment 13, we will create a payroll calculator that calculates gross pay, taxes, and net pay for both hourly and commission employees. It will then display those results to the screen.

In this assignment, information common to all employees (e.g. first name, last name, employee ID, tax rate) will be stored in a class. From this class, you will extend two subclasses. The first class will have two variables that are unique to hourly employees (e.g. hours worked, pay rate) and a method unique to hourly employees (e.g. calculate gross pay by multiplying hours worked by pay rate). The second class will have two variables that are unique to hourly employees (e.g. sales total, commission rate) and a method unique to hourly employees (e.g. calculate gross pay by sales total by commission rate).

The program will also need to calculate taxes paid and net pay. You may either code that directly into this program or call it from the payroll functions class you wrote in earlier assignments.

The program should ask the user if they performing calculations for hourly employees of commission employees. Depending on which selection they make, the program will either utilize an object of the hourly employee class or an object of the commission employee class.

Write pseudocode in (Microsoft Word or similar word processing program) that outlines the steps you will undertake to complete this program. Save the pseudocode in a file named

payrollCalculator3.doc. Name your source code payrollCalulator4.java and compile it. Upload and submit the payrollCalulator4.doc,payrollCalulator4.java, and payrollCalulator4.class files to Blackboard.

Please upload and submit the payrollFunctions.java and payrollFunctions.class files if they had to be modified to work with the current program.

Your output should look something like this.

Additional Challenges:

930_payroll output.png

1. For 20 extra points, write this program as a GUI.


Related Discussions:- Payroll calculator application

Differentiate uni-processor os from multi-processor os, Differentiate uni-P...

Differentiate uni-Processor OS from Multi-Processor OS? Uni-processor OS : Uni-processor OS'es is designed to schedule tasks on a single uPs just whereas Multiprocessor O

Help, I can''t figure out how to do this question: "Given two linear equati...

I can''t figure out how to do this question: "Given two linear equations: ax + by + c = 0 and dx + ey + f = 0" solve for x and y. A, b, c, d, e, and f being inputted from the user.

Create child processes, Using Fork() and Exec() or Clone(), create four ch...

Using Fork() and Exec() or Clone(), create four child processes. Load the same "Hello" program in each process after creation. This program should behave differently in each pro

Explain the execute phase of java program development, Explain the Execute ...

Explain the Execute phase of Java Program Development Finally in phase computer, under the control of its CPU, interprets program one bytecode at a time. Hence performing

Describe graphics objects, Describe Graphics Objects ? In Java all draw...

Describe Graphics Objects ? In Java all drawing takes place via a Graphics object. This is an example of the class java.awt.Graphics. Initially the Graphics object you use w

Encapsulation, Defines to keeping all the related members together in an ob...

Defines to keeping all the related members together in an object. Specifying member variables as private may hide the methods and variables. Objects should hide their inner working

What is casting, What is casting? There are two types of casting, casti...

What is casting? There are two types of casting, casting among primitive numeric types and casting among object references. Casting among numeric types is used to convert large

Explain preemptive scheduling and time slicing, In preemptive scheduling, t...

In preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. In time slicing, a task i

Write Your Message!

Captcha
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