Question: Write a Java program with a single - sided decision to calculate an employee's gross pay. The program should ask the user for an employee
Write a Java program with a singlesided decision to calculate an employee's gross pay. The program should ask the user for an employee number String type number of hours worked, and pay rate per hour. Gross pay will be then number of hours the employee worked times their hourly pay rate. If the employee worked over hours, add additional overtime pay for the hours over at of the regular pay rate. Output the input values, and the gross pay with appropriate formats. Test the program twice using the following data. Copy and paste both outputs in the same Word file. Attach the java file and output document.
Employee NumberHours WorkedHourly Pay Rate
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
