473,320 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Payroll System using Nested-ifs (java)

1
Write a program that would compute the salary of an employee based on the information indicated on the
table given below. The program should ask the user to enter the employee name, status code, department
code, position code, and number of hours worked. Then compute for the gross income of the employee
by multiplying the number of hours worked into his rate per hour based on the employee’s position identified
in each department. Then compute for the total deductions by adding the percentage from BIR and Security
taxes based on his civil status. Finally, compute for the net income by subtracting the total deductions from
the gross income.
Nov 13 '21 #1
1 4686
dev7060
633 Expert 512MB
Write a program that would compute the salary of an employee based on the information indicated on the
table given below. The program should ask the user to enter the employee name, status code, department
code, position code, and number of hours worked. Then compute for the gross income of the employee
by multiplying the number of hours worked into his rate per hour based on the employee’s position identified
in each department. Then compute for the total deductions by adding the percentage from BIR and Security
taxes based on his civil status. Finally, compute for the net income by subtracting the total deductions from
the gross income.
What have you done so far?
Nov 14 '21 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: **Developer** | last post by:
Would someone pass this on to MS and/or check to see it the problem persists in 2005? I don't have 2005 and do not know how to pass it on. Nor do I have the time to spend learning how unless...
1
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ - How do I direct someone to this FAQ? ----------------------------------------------------------------------- This...
5
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this may seem very lazy, but can someone exaplin this bit of code for me? regID int IDENTITY(0,1) It is part of an SQL CE command in a VB app, but I just don't get what the regID...
13
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I direct someone to this FAQ? ----------------------------------------------------------------------- ...
3
by: raz230 | last post by:
I'm sorry for posting this here- I have to integrate an parcel tracking with Canada Post into one of my applications. The web service they use is made with SAP and is not the usual WSDL type of...
5
by: patelxxx | last post by:
I have a FORM with allows user to input their name and then user clicks submit which this goes to my .cgi script. Can someone check this .cgi script as the results are not being displayed as...
9
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, please reference: http://pastebin.com/mef78b3d As shown in the reference I am dynamically building my controls in my class. I'd like to be able to attach javascript calls as...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.