The personal income tax for individual citizens and residents of the United States is as follows:
Taxable Income (in A$)
$0-$6,000
$6,001-$20,000
$20,001-$50,000
$50,001-$60,000
Over $60,000
None
Tax on This Income
$0
$0.17 for each $1 over $6,000
$2,380 plus 0.30 for each $1 over $20,000
$11,380 plus 0.42 for each $1 over $50,000
$15,580 plus 0.47 for each $1 over $60,000
Write a MATLAB program to calculate how much a person has to pay in income tax if they make a total of $65,000.