Question: Write a program that prompts the user for an employee id , hours worked and hourly rate in a setData function. Calculate the gross pay
Write a program that prompts the user for an employee id hours worked and hourly rate in a setData function.
Calculate the gross pay in the calcGross function, this should take into account overtime where one is paid time and a half for each hour worked over hours a week.
Calculate FICA which is of your gross
Calculate State Tax which is of your gross
Calculate local which is of your gross
Calculate the net pay
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
