Answered You can hire a professional tutor to get the answer.
Write a procedure, tax, to calculate (to the nearest pound) the tax a person owes, depending on his/her income. Calculate the tax using this table:
Write a procedure, tax, to calculate (to the nearest pound) the tax a person owes,
depending on his/her income.
Calculate the tax using this table:
Income Tax rates
Tax rate Taxable income
Basic rate 20% £0 to £45,200
Higher rate 40% £45,201 to £150,000
Additional rate 45% Over £150,000
The procedure should show
i) The salary,
ii) The tax rate,
iii) The amount of tax
iv) The amount left after tax and
v) Be able to deal with any input, valid or not.