Question: PROBLEM: Write a program that will let the user enter employee name, Rate per Hour and Number of Hours Worked. Then the program will

PROBLEM: Write a program that will let the user enter employee name,

PROBLEM: Write a program that will let the user enter employee name, Rate per Hour and Number of Hours Worked. Then the program will automatically compute the Basic Pay, Over Time Pay, Gross Pay, Total Deduction and Net Pay. The number of hours per week is 40 so the excess of 40 should be computed as OT hrs. NOTE: Create two programs (one program using Scanner and one program using BufferedReader) Variables: empName, rateHour, numHrs Work, NumOThrs, basicPay, OThrsPay. grossPay,tax, philHealth, netPay, SSS=500, pagIbig =100,totDeduction; Formula: NumOThrs=numHrs Work - 40; OThrsPay = NumOThrs *rateHour * 1.25; basicPay rateHour * 40; grossPay =basicPay + OThrsPay; tax = grossPay* 0.1; philHealth gross Pay * 0.02; totDeduction tax + philHealth + SSS + pagibig; netPay =grossPay - totDeduction:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!