Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

6 Cite five ways to develop coherent paragraphs

Answered: 1 week ago

Question

8. What are the steps in the process for organizing messages?

Answered: 1 week ago