With a partner
You are creating a payroll system with PHP.The specifications:
Create an if statement with PHP concerning payroll. If the salary is more than 100,000 the tax rate is 35%. Between 80,000 and 100,000 the tax rate is 30%. Between 60,000 and 80,000 the tax rate is 25%. Between 40,000 and 60,000 the tax rate is 20%. Between 20,000 and 40,000 the tax rate is 15%. Between 0 and 20,000 the tax rate is 10%.
The program needs to output the taxes due based on the salary and rate.
0 Comments:
Post a Comment
<< Home