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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, stodd9503
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
image
Computers and Technology, 23.06.2019 00:10, witerose701
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, Thisisdifinite
Which of the following would you find on a network
Answers: 3
image
Computers and Technology, 23.06.2019 18:30, aalyssag606
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
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 in other subjects:

Konu
Mathematics, 25.04.2020 05:01
Konu
Mathematics, 25.04.2020 05:01