Income tax
Imagine that people who earn under 10,000 dollars pay 20% income tax, and people who earn 10,000 dollars or above pay 30% income tax. If the variable income contains a person's income, write code that will calculate his or her income tax and store it in the pre-existing variable tax.

Log in - Sign up