Branching Statements on Tax Problems My Solutions In 2009, individual citizens and residents of Australia paid the follo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Branching Statements on Tax Problems My Solutions In 2009, individual citizens and residents of Australia paid the follo

Post by answerhappygod »

Branching Statements On Tax Problems My Solutions In 2009 Individual Citizens And Residents Of Australia Paid The Follo 1
Branching Statements On Tax Problems My Solutions In 2009 Individual Citizens And Residents Of Australia Paid The Follo 1 (118.72 KiB) Viewed 44 times
Branching Statements on Tax Problems My Solutions In 2009, individual citizens and residents of Australia paid the following income taxes: Taxable income (in A$) $0 $6,000 $6,001-534,000 $34,001-$80,000 $80,001-$180,000 Over $180,000 Tax on This Income None 15€ for each $1 over $6,000 $4,200 plus 30¢ for each $1 over $34,000 $18,000 plus 404 for each $1 over $80,000 $58,000 plus 45¢ for each $1 over $180,000 In 2002, individual citizens and residents of Australia paid the following income taxes: Taxable income (in A$) Tax on This Income $0-$6,000 None $6,001-$20,000 17¢ for each $l over $6,000 $20,001-$50,000 $2,380 plus 30¢ for each $1 over $20,000 $50,001-$60,000 $11,380 plus 42¢ for each $1 over $50,000 Over $60,000 $15,580 plus 47€ for each $1 over $60,000 In addition, a flat 1.5% Medicare levy was charged on all income. Write a program to calculate how much less income tax a person paid on a given amount of income in 2009 than he or she would have paid in 2002.
In addition, a flat 1.5% Medicare levy was charged on all income. Write a program to calculate how much less income tax a person paid on a given amount of income in 2009 than he or she would have paid in 2002. Script Save Reset ES MATLAB Documentation 1 % Define variables: 2 % income -- Income in dollars 3 % tax2002 -- Tax 2002 Owed in dollars 4 % tax2009 -- Tax 2009 owed in dollars % Simulate: Prompt the user for the input power. 6 sampleData = [sece 50000 100000); 7 income - sampleData(1, randi([1,3])); 8 fprintf('Taxible income: $20.2f \n',income); % Calculate 2009 basic tax 10 11 11 12 13 14 15 16 17 18 19 21 % Add Medicare Levy for 2009 23 % Calculate 2002 basic tax 24
19 20 21 % Add Medicare Levy for 2009 23 % Calculate 2002 basic tax 24 25 26 27 28 29 38 31 32 33 34 35 % Add Medicare Levy for 2002 36 37 % How much less tax was paid in 2009? Use tax_diff as a variable 38 39 % Tell user 40 fprintf('Total tax for 2009 = $%.2f\n', tax2009); 41 fprintf('This is = $%.2f less than in 2002\n', tax_diff); 42 Run Script ?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply