9. The output should contain the following: Date Generated (This is the system date.) Employee Name Basic Salary No. of OT Hours OT Pay Gross Income Withholding Tax Other Deductions: SSS Pag-ibig PhilHealth Note: It should match to thi Net Pay

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

I would to have an accurate Java programming for this example. It should follow the exact match output. Thanks!

9. The output should contain the following:
Date Generated (This is the system date.)
Employee Name
Basic Salary
No. of OT Hours
ОТ Раy
Gross Income
Withholding Tax
Other Deductions:
SS
Pag-ibig
PhilHealth
Net Pay
Note: It should be exact
match to this output
Transcribed Image Text:9. The output should contain the following: Date Generated (This is the system date.) Employee Name Basic Salary No. of OT Hours ОТ Раy Gross Income Withholding Tax Other Deductions: SS Pag-ibig PhilHealth Net Pay Note: It should be exact match to this output
Procedure:
Create a NetBeans project for this activity.
Project Name: MP2_<lastname_firstname>
Example: MP2_Blanco_Maria
Define 2 classes. The main class contains the main method.
Main Class: Employee_<lastname>
Example: Employee_Blanco
Other Class: PaySlip_<lastname>
Example: PaySlip_Blanco
Write a Java program with the following specifications:
1. Define the attributes of the PaySlip class. Define the constructor for this class.
2. Define the setters (mutators) and the getters (accessors) for the PaySlip class.
3. Define also the custom methods in the PaySlip class as follows but not limited
to determineWithholdingTax( ) and computeCompensation( ).
4. Input the employee name, basic salary, and number of overtime (OT) hours.
Data input should be done in the main method. The final output as described in
#9 should be generated in the main method, as well.
5. Use the table below to compute the withholding tax.
Monthly Gross Income and Withholding Tax Details
But Not Over
Over
Withholding Tax
20,000
31,000
61,000
154,000
615,000
0%
20,000
31,000
61,000
154,000
615,000
20% of the excess over 20,000
2,300 + 25% of the excess over 31,000
10,000 + 30% of the excess over 61,000
38,000 + 32% of the excess over 154,000
185,000 + 35% of the excess over 615,000
6. The computation is as follows:
Gross income = basic salary + OT pay
OT pay = no. of OT hours * 1% of basic salary
Net pay = gross income - withholding tax - other deductions
Withholding tax = based on the table above
7. The following are the other deductions:
SSS = 13% of the basic salary
Pag-ibig = 2% of the basic salary
Philhealth = 3.5% of the basic salary, maximum of 2,450
8. Use the Philippine Peso currency and 2 decimal places for all the monetary
value display.
9. The output should contain the following:
Date Generated (This is the system date.)
Employee Name
Basic Salary
No. of OT Hours
оТ Раy
Gross Income
Withholding Tax
Other Deductions:
Pag-ibig
PhilHealth
Net Pay
Transcribed Image Text:Procedure: Create a NetBeans project for this activity. Project Name: MP2_<lastname_firstname> Example: MP2_Blanco_Maria Define 2 classes. The main class contains the main method. Main Class: Employee_<lastname> Example: Employee_Blanco Other Class: PaySlip_<lastname> Example: PaySlip_Blanco Write a Java program with the following specifications: 1. Define the attributes of the PaySlip class. Define the constructor for this class. 2. Define the setters (mutators) and the getters (accessors) for the PaySlip class. 3. Define also the custom methods in the PaySlip class as follows but not limited to determineWithholdingTax( ) and computeCompensation( ). 4. Input the employee name, basic salary, and number of overtime (OT) hours. Data input should be done in the main method. The final output as described in #9 should be generated in the main method, as well. 5. Use the table below to compute the withholding tax. Monthly Gross Income and Withholding Tax Details But Not Over Over Withholding Tax 20,000 31,000 61,000 154,000 615,000 0% 20,000 31,000 61,000 154,000 615,000 20% of the excess over 20,000 2,300 + 25% of the excess over 31,000 10,000 + 30% of the excess over 61,000 38,000 + 32% of the excess over 154,000 185,000 + 35% of the excess over 615,000 6. The computation is as follows: Gross income = basic salary + OT pay OT pay = no. of OT hours * 1% of basic salary Net pay = gross income - withholding tax - other deductions Withholding tax = based on the table above 7. The following are the other deductions: SSS = 13% of the basic salary Pag-ibig = 2% of the basic salary Philhealth = 3.5% of the basic salary, maximum of 2,450 8. Use the Philippine Peso currency and 2 decimal places for all the monetary value display. 9. The output should contain the following: Date Generated (This is the system date.) Employee Name Basic Salary No. of OT Hours оТ Раy Gross Income Withholding Tax Other Deductions: Pag-ibig PhilHealth Net Pay
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY