Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:30, Cassandoo
The total revenues for a company are $150,223 and the total expenses were 125,766. if you are calculating the net income, which of these spreadsheets would you use? insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2-b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2+b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2/b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2*b3. the formula should be showing in the formula bar.
Answers: 3
image
Computers and Technology, 22.06.2019 14:00, GGerardi7552
What are procedures that keep a data base current
Answers: 1
image
Computers and Technology, 22.06.2019 17:30, babyface1686
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
image
Computers and Technology, 22.06.2019 20:40, broang23
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
Do you know the correct answer?
Write a procedure, tax, to calculate (to the nearest pound) the tax a person owes, depending on hi...

Questions in other subjects:

Konu
Mathematics, 21.10.2020 21:01