Programming Project pc318
Programming Project pc318
Create a java application that would compute the payroll of an employee. The application will
add and search values in the database.
Details:
regular working hours is 120 hrs. If hours work exceeds to 120, excess is
overtime hours
basic = hours work x rate per hour
overtime = 1.5 of its rate per hour X overtime hours
gross = basic + overtime
deduction = wtax + sss + philhealth + pag-ibig
net income = gross income – deduction
rate per hour = rate per day/8
sss = 10% of gross income if gross income is greater than 10K, 8% of gross income
if gross income is greater than 5k, otherwise 5% of gross income.
wtax = 1. Weekly>>>(8,000)
Base=4,808 = 0.00
Excess= 3,192 x 15% = 478.80
Wtax= 478.80
2. Monthly>>>(30,000)
Base=20,833 = 0.00
Excess= 9,167 x 15% = 1,375.05
Wtax= 1,375.05
Otherwise>>>(2000)
Base=1,096 = 61.65
Excess= 904 x 20% = 180.8
Wtax= 242.45