Answer :
The problem requires developing a Windows Form Application to calculate employee payroll for TK-Tec company. Here are the requirements and steps to develop the application:
1. Data Source: The data for the application is obtained from a text file called "employee.txt". This file contains the necessary information about the employees.
2. Add Employees: The application should have a mechanism to add employees to the text file. You can provide a form or input fields where the user can enter the employee details like name, category, hours worked, and pay per hour. When the user submits the form, the employee details should be added to the "employee.txt" file.
3. Calculate Payroll: The application should have a button to calculate the payroll based on the data in the "employee.txt" file. When the user clicks on the button, the application should perform the following calculations:
a. Gross Pay: Multiply the "Hours Worked" by "Pay Per Hour" to determine the gross pay.
b. Payroll Deductions:
- Tax: Calculate 10% of the gross pay.
- FICA: Calculate 7.65% of the gross pay.
- Medical Insurance: If the employee's category is "E", deduct $35.00; otherwise, deduct $10.00.
c. Net Pay: Subtract the sum of tax, FICA, and medical insurance from the gross pay to get the net pay.
4. Display the Result: Use a label or textbox to display the result to the user. The following information should be displayed:
- Employee Name
- Category
- Gross Pay (formatted as dollar amount)
- Total Discounts (formatted as dollar amount)
- Net Pay (formatted as dollar amount)
5. Close Screen: Provide a button to close the application screen when the user is done.
6. Screen Clear Button: Add a button to clear the input fields and result display area so that the user can enter new employee details and calculate payroll again.
By following these steps, you can develop a Windows Form Application to determine employee payroll for TK-Tec company.
To know more about Windows Form Application :
https://brainly.com/question/34209563
#SPJ11