The table below shows the tax that is applied to income. The tax value increases if someone earns more than a certain amount.
Income Tax Rate
Less than 11,000 0.0
11,000 – 50,000 0.2
Greater than 50,000 0.5
Write a pseudocode algorithm that accepts a value for income as its input and displays the tax rate that will be applied to that income.
Income=input('Input your income')
if
Income < 11000
print('Your tax rate is 0')
if
11000 <= Income <= 50000
print('Your yax rate is 0.2')
else
print('Your tax rate is 0.5')
Comments
Leave a comment