Project1 CECS277 solution




5/5 - (6 votes)

Write a program to Calculate the federal tax, state tax and the net salary for each employee.
First, ask how many employees there are in that company.
To calculate the federal tax, use the following criteria:
To calculate the state Tax, use the following criteria:
If the employee is from CA, NV, AZ, or TX calculate the state tax at 10%
Otherwise calculate the state tax at 12%
Your program should Calculate the display the net salary of each employee. To
calculate the net salary, subtract federal and state tax from the gross salary.
Then, ask for the name, salary, marital status, and the state employee lives in .