how can i create a application that will compute fot the net income of a particular employee


here is a sample output:
Name:Vernie G. Lopez
Position:Manager
Rate:500
No. of Hours Worked:40

Gross=20000.00 Deductions:
Bonus=1000.00 SSS=2000.00
Medicare=100.00
Tax=3000.00
Net Income==15900.00 Total Deduction=5100.00


.you have to accept name,position,and number of hours worked
.The position has three categories: if Manager,rate per hour is 500:if Supervisor,rate per hour is 400:if employee,rate per hour is 300
.after accepting the number of hour worked,compute gross=rate*number of hour worked
.Then,compute for the deductions(SSS,medical and tax)
SSS is always 10% of gross;Medical is always 100
if gross >=800,tax=15% of gross;if gross >=4000, tax is 10% of gross: if gross >=2000, taxis 5% of gross
.Then, compute for the net income = gross+bonus-total deduction
.display all the result.

please help me.i still don't know anything about this application.use netbeans 6.9.1.thanks a lot

how can i create a application that will compute fot the net income of a particular employee

By typing in a text editor. We are not a homework service.

Please show some effort.

Try coding it a little. If you encountered errors then you can ask us. We're not here to do it for you.

This article has been dead for over six months. Start a new discussion instead.