Your task is to design, develop and test an application using Java Programming language for the below customer requirement for their small firm in Australia.
Design, Develop and test the logic for an application that allows a user to enter employee name continuously until a sentinel value is entered. Also input each employee's hourly wage and hours worked. After taking input, compute each employee gross pay (hours times rate), withholding tax percentage according to the table given below, withholding tax amount and net pay (gross pay minus withholding tax).
Weekly gross pay ($) | Withholding percentage (%) |
$0-$300.00 | 10 |
$300.01-$500.00 | 13 |
$500.01-$800.00 | 16 |
$800.01 and up | 18 |
Display all the results for each employee. After the last employee has been entered, display the sum of all hours worked, total gross payroll for all employees and net payroll for all employees.
Draw a Flowchart and Pseudocode for required functionalities of program
TASK 2
1. Display the welcome message (Student ID, Student Name)
2. Ask from user to enter the employee names, hours worked and hourly rate. Keep asking for new employee until user enter a sentinel value to end the program.
3. Compute and display each employee's gross pay, withholding tax percentage, withholding tax amount and net pay.
4. Use parallel arrays to store hours worked, gross pay and net payroll of each employee.
5. Display the output on screen
***************************************************************
Thanking you for using the system
Your name and your student ID
Total hours worked by employees
Gross pay that needs to be paid by company
Tax withholdings
Net pay after tax deductions
***************************************************************
TASK 3:
Test Document | ||||
Application Name: | Tester Name: | |||
Case ID | Test case | Test Data | Expected Outcome | Actual Outcome |