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 40 hours a week.
Calculate FICA which is 6.2% of your gross
Calculate State Tax which is 3.07% of your gross
Calculate local which is 1% 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!