You are an accountant setting up a payroll system for a small firm. Each line of the table in Appendix G indicates an employee's salary range and corresponding base tax amount and tax percentage. Given a salary amount, the tax is calculated by adding the base tax for that salary range and the product of percentage of excess and the amount of salary over the minimum salary for that range.

Design a program that solves this problem

In the following example, the second line of the table specifies that tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00.

(see chart in attached file)

You are an accountant setting up a payroll system for a small firm. Each

line of the table in Appendix G indicates an employeeâs salary range

and corresponding base tax amount and tax percentage. Given a salary

amount, the tax is calculated by adding the base tax for that salary

range and the product of percentage of excess and the amount of salary

over the minimum salary for that range.

â¢ Design a program that solves this problem

In the following example, the second line of the table specifies that

tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary

over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is

$225.00 + $80.00, or $305.00.

Salary Range in Dollars Base Tax in Dollars Percentage of Excess

1 0.00-1,499.99 0.00 15 %

2 1,500.00-2,999.99 225.00 16 %

3 3,000.00-4,999.99 465.00 18 %

4 5,000.00-7,999.99 825.00 20 %

5 8,000.00-14,999.99 1425.00 25 %

### Recently Asked Questions

- Calculate the pressure of 3.211 mole of oxygen gas at 256.5 cm 3 and 283.62 K and compare this pressure with the one estimated from the ideal gas assumption

- Susan Sound predicts that students will learn most effectively with a constant background sound, as opposed to an unpredictable sound or no sound at all. She

- Answer question 7 regarding the enthalpy calculation