Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Mr. Ali Johnson, the payroll manager at Casablanca Industries, manually calculat

ID: 3641356 • Letter: M

Question

Mr. Ali Johnson, the payroll manager at Casablanca Industries, manually calculates each employee’s weekly gross pay, Social Security and Medicare (FICA) tax, federal withholding tax (FWT), and net pay – a time – consuming process and one that prone to mathematical errors. Mr. Ali has asked you to create an application that performs the payroll calculations both efficiently and accurately.

All employees are paid on an hourly basis, with time and one-half paid for the hours worked over 40. The amount of FICA tax to deduct from an employee’s weekly gross pay is calculated by multiplying the gross pay amount by 7.65%. The amount of FWT to deduct from an employee’s weekly gross pay is based on the employee’s filling status. First, if employee is single with no kids, the amount of FWT to deduct from the employee’s weekly gross pay is calculated by multiplying the gross pay amount by 18.5%. Second, if employee is single with kids, the amount of FWT to deduct from the employee’s weekly gross pay is calculated by multiplying the gross pay amount by 12.5%. Third, if employee is married with no kids, the amount of FWT to deduct from the employee’s weekly gross pay is calculated by multiplying the gross pay amount by 15.5%. And finally, if employee is married with kids, the amount of FWT to deduct from the employee’s weekly gross pay is calculated by multiplying the gross pay amount by 8.5%.

• Complete an IPO Chart and Flowchart to determine all the necessary factors to assist
Mr. Johnson
• Use your creativity and various programming techniques to calculate and display the employee’s ID, employee’s name, gross pay, taxes, and net pay. The program will continue to repeat until the user enters (999) as the employee’s ID to end.

Explanation / Answer

This program is really not that difficult. This problem asks you to write a payroll program that, given the gross pay, calculates the amount of FICA and FWT tax. After calculating the taxes, you can derive the net pay. The tax rates for the FICA and FWT taxes are determined by meeting certain conditions. You can use if else statements for this. (I'm assuming you know already know about if-else statements. That pretty much covers the majority of the problem. The rest of the problem asks you to display the values for gross pay, tax deducted, and net pay. For the IPO Chart you first identify your inputs which is the EmployeeID, name, gross pay. Then you list the process which are the calculation of the taxes. Finally, you have your output(You should be able to figure those out). Hopefully this helps

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote