All details below

All details below. Part I:
For this part, you MUST adopt all standards adopted for all past assignments (header with your full name, date, and a brief description, comment any and all major processes/routines…etc)
Important! A sound logic is more important than a sound syntax with errors in logic.
You are required to use JOptionPane for all your input and output.
Develop a solution and code a complete Java program for the following application:
You are tasked to code a program that prompts the user to enter number of hours worked, hourly rate, and then determine the gross salary. Also, any extra hour over 40 hours will get one and a half rate.
Your program MUST be very modular: code a method that handles hours worked input, another method that handles the hourly rate input, another method that calculate the gross salary and over-time pay if any, and a last method that displays the payroll report (hours worked, hourly rate, gross salary, amount of over-time paid). You must allow user to repeat program for different employees.
Part II: Extra credits:
XC1: allow user to start or quit program early. Reject hourly rate of zero, and reject hours worked of zero. Add a method that prompts user for employee SSN.
XC2: in addition to XC1, split the method that calculates the gross salary into three methods: one that calculate the gross without over time, and one that calculate over time only, and a third method that calculate gross including overtime,

All details below

This question has been answered by our writers. You can buy the answer below or order your 0% plagiarized answer