Payroll
Create an application that displays payroll information. The application should allow the user to enter the following data for four employees:
• Number of hours worked
• Hourly pay rate
• Percentage to be withheld for state income tax
• Percentage to be withheld for federal income tax
• Percentage to be withheld for FICA
The application should calculate and display the following data for each employee in a list box:
• Gross pay (the number of hours worked multiplied by the hourly pay rate)
• State income tax withholdings (gross pay multiplied by state income tax percentage)
• Federal income tax withholdings (gross pay multiplied by federal income tax percentage)
• FICA withholdings (gross pay multiplied by FICA percentage)
• Net pay (the gross pay minus state income tax, federal income tax, and FICA)
When the calculations are performed, be sure to check for the following error:
• If any employee’s state income tax plus federal tax plus FICA is greater than the employee’s gross pay, display an error message stating that the withholdings are too great.
Be sure to add appropriate ToolTips for each control on the form.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.