Payroll Program - Calculate Pay for one employee

Create a payroll program for a company. People are paid based upon their position and years of service. Managers get $15 / hour and everyone else gets $10 / hour. They get $1 per hour more for each year of service. (Example: If a manager had worked at the company for 10 years, she would earn $25 / hour.)

Your program will ask the user whether they are a manager, and how many years they have been working. Then, your program will ask the number of hours worked that week. Your program will then tell the user their gross pay. Remember that everyone gets time and a half after 40 hours.

When that is working well, please add a little more:

Your program will now deduct income tax according for the following income tax brackets: Weekly income Income Tax Rate

Bracket Tax Rate
Under $300 None
$300 - $399.99 5%
$400 - $599.99 8%
$600+ 10%


(Assignment modified from one of Dr. Siegfried's)