subject

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
Personal Allowance 0% 0 to £11,850
Basic rate 20% £11,850 to £46,350
Higher rate 40% £46,350 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.
Your tests of procedure should include the following values, which should be included
in your final presentation.
a) tax (£55,000)
b) tax (£100,250)
c) tax (£270,755)
d) tax (£99500)
e) tax (£237,570)
f) tax (£-40,000

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:50
Click on this link toopens a new window. bring up a flowchart in a new browser window. based on this flowchart, would a d-link 3347 gateway with an xbox 360 multiplayer problem be in scope or out of scope
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 08:30
Acollection of computers and other devices that are connected together to enable users to share hardware, software, and data, as well as to communicate electronically with each other is called
Answers: 1
You know the right answer?
Write a procedure, tax, to calculate (to the nearest pound) the tax a person owes, depending on hi...
Questions
question
History, 01.09.2019 21:00
question
Mathematics, 01.09.2019 21:00
question
Physics, 01.09.2019 21:00
question
Biology, 01.09.2019 21:00
Questions on the website: 13722367