D-Recruitment Center is in the business of matching computer systems analysts and programmers with employers needing temporary help. They pay a flat rate of GHC 150.00 per hour to their contract analysts and programmers. Contractors are paid on a weekly basis or at the completion of a project, whichever comes first. Each contractor logs his or her own hours. They have asked you to develop a Windows application to be used by the contractors to determine how much money they will take home for a given period of time. D-Recruitment Center is required by law to deduct Social Security taxes (SSNIT) and withholding income taxes from each check. The amount of SSNIT deductions is calculated at 7.85% of the gross pay. The amount of withholding is based on the number of dependent allowances. The following formula is used: Withholding Tax = (grossPay - (grossPay 5.75%* number of dependents)) • 25%. They also charge a membership fee to each contractor of 13% of their gross pay. Design a GUI that will accept as input the contractor's name, the number of dependents, and the number of hours worked. Display the gross pay, SSNIT deductions, Membership fee Deduction, Withholding Tax and NET pay. Application Use and Special Instructions The application user will enter the contractor's name, the number of dependents, and the number of hours worked. Page 2 of 6 After entering the required data into the user interface, the user can click on a button (Compute button) to calculate and display the gross pay, SSNIT deductions, Membership fee Deduction, Withholding Tax and NET pay. Data Input: Data is entered into the input TextBox controls. While label controls are used to label the textboxes. Programming Events. Use the above information to answer sub questions (a) to (e). a. Validating Data. You must write code to enforce the business rules listed below i Rule #1-none of the input textboxes can be blank. ii. Rule #2 - textboxes use to input Number of hours worked and Number of dependents must each accept only a numeric value that is greater than zero. i. Rule #3 - the Number of dependents TextBox must contain a whole number value that is greater than zero. b. When the Compute Button is clicked, your code must: i. Calculate Gross Pay: All contract analysts and programmers are paid a flat rate of GHC 150.00 per hour. Use that to calculate the Gross pay. ii. Calculate Withholding Tax: All contract analysts and programmers must pay Withholding Tax using the formula: Withholding Tax = (grossPay - (grossPay 6.34% * number of dependents)) * 23%. Calculate SSNIT: All contract analysts and programmers must pay SNNIT at the rate of 7.85%. iv. Membership Tax: All contract analysts and programmers must pay Membership Tax at the rate of 13%. Calculate Total Deductions: This is computed as the sum of the values of all the deductions namely, Withholding Tax, SSNIT deduction and Membership Tax iii. V. vi. Calculate NET Pay: This is computed as the Gross Pay less the sum of the values of all the deductions. vii. Display all results in textboxes controls. c. When the Reset Button is clicked, your code must: i. Clear all data input and output TextBox controls. ii. Set focus to the Contractor Name TextBox control. d. Exit Button Coding.
D-Recruitment Center is in the business of matching computer systems analysts and programmers with employers needing temporary help. They pay a flat rate of GHC 150.00 per hour to their contract analysts and programmers. Contractors are paid on a weekly basis or at the completion of a project, whichever comes first. Each contractor logs his or her own hours. They have asked you to develop a Windows application to be used by the contractors to determine how much money they will take home for a given period of time. D-Recruitment Center is required by law to deduct Social Security taxes (SSNIT) and withholding income taxes from each check. The amount of SSNIT deductions is calculated at 7.85% of the gross pay. The amount of withholding is based on the number of dependent allowances. The following formula is used: Withholding Tax = (grossPay - (grossPay 5.75%* number of dependents)) • 25%. They also charge a membership fee to each contractor of 13% of their gross pay. Design a GUI that will accept as input the contractor's name, the number of dependents, and the number of hours worked. Display the gross pay, SSNIT deductions, Membership fee Deduction, Withholding Tax and NET pay. Application Use and Special Instructions The application user will enter the contractor's name, the number of dependents, and the number of hours worked. Page 2 of 6 After entering the required data into the user interface, the user can click on a button (Compute button) to calculate and display the gross pay, SSNIT deductions, Membership fee Deduction, Withholding Tax and NET pay. Data Input: Data is entered into the input TextBox controls. While label controls are used to label the textboxes. Programming Events. Use the above information to answer sub questions (a) to (e). a. Validating Data. You must write code to enforce the business rules listed below i Rule #1-none of the input textboxes can be blank. ii. Rule #2 - textboxes use to input Number of hours worked and Number of dependents must each accept only a numeric value that is greater than zero. i. Rule #3 - the Number of dependents TextBox must contain a whole number value that is greater than zero. b. When the Compute Button is clicked, your code must: i. Calculate Gross Pay: All contract analysts and programmers are paid a flat rate of GHC 150.00 per hour. Use that to calculate the Gross pay. ii. Calculate Withholding Tax: All contract analysts and programmers must pay Withholding Tax using the formula: Withholding Tax = (grossPay - (grossPay 6.34% * number of dependents)) * 23%. Calculate SSNIT: All contract analysts and programmers must pay SNNIT at the rate of 7.85%. iv. Membership Tax: All contract analysts and programmers must pay Membership Tax at the rate of 13%. Calculate Total Deductions: This is computed as the sum of the values of all the deductions namely, Withholding Tax, SSNIT deduction and Membership Tax iii. V. vi. Calculate NET Pay: This is computed as the Gross Pay less the sum of the values of all the deductions. vii. Display all results in textboxes controls. c. When the Reset Button is clicked, your code must: i. Clear all data input and output TextBox controls. ii. Set focus to the Contractor Name TextBox control. d. Exit Button Coding.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Please help solve
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 4 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY