Branching Statements on Tax Problems My Sc In 2009, individual citizens and residents of Australia paid the following income taxes: Taxable Income (in A$) Tax on This Income SO $6,000 None $6,001-$34,000 15¢ for each $1 over $6,000 $34,001-$80,000 $4,200 plus 30c for each $1 over $34,000 $80,001-$180,000 Over $180,000 $18,000 plus 40c for each $1 over $80,000 $58,000 plus 45e 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 SO-S6,000 None $6,001-$20,000 17c for each SI over $6,000 $2,380 plus 30c for each $1 over $20,000 $11.380 plus 42e for each $1 over $50,000 $20,001-$50.000 $50,001-$60,000 Over $60,000 $15.580 plus 47e for cach $l 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.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Branching Statements on Tax Problems
My So
In 2009, individual citizens and residents of Australia paid the following income taxes:
Taxable Income (in A$)
Tax on This Income
SO $6,000
None
$6,001-$34,000
15¢ for each
over $6,000
$34,001-$80,000
$4,200 plus 30c for each $1 over $34,000
$80,001-$180,000
$18,000 plus 40e for each $1 over $80,000
Over $180,000
$58,000 plus 45c 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
SO-S6,000
None
17c for each S1 over $6,000
$2,380 plus 30e for cach $1 over $20,000
$6,001-$20,000
$20,001-$50,000
$50,001-$60,000
S11.380 plus 42c for each $1 over $50,000
Over $60,000
$15.580 plus 47e for cach $l 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.
Transcribed Image Text:Branching Statements on Tax Problems My So In 2009, individual citizens and residents of Australia paid the following income taxes: Taxable Income (in A$) Tax on This Income SO $6,000 None $6,001-$34,000 15¢ for each over $6,000 $34,001-$80,000 $4,200 plus 30c for each $1 over $34,000 $80,001-$180,000 $18,000 plus 40e for each $1 over $80,000 Over $180,000 $58,000 plus 45c 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 SO-S6,000 None 17c for each S1 over $6,000 $2,380 plus 30e for cach $1 over $20,000 $6,001-$20,000 $20,001-$50,000 $50,001-$60,000 S11.380 plus 42c for each $1 over $50,000 Over $60,000 $15.580 plus 47e for cach $l 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.
Script e
1% Define variables:
2 % income
Income in dollars
3 % tax2002
-- Tax 2002 owed in dollars
4% tax2009
5 % Simulate: Prompt the user for the input power.
Tax 2009 owed in dollars
6 sampleData
7 income =|
[5000 50000 100000];
sampleData(1,randi([1,3]));
8 fprintf('Taxible income: $%0.2f \n",income);
9% Calculate 2009 basic tax
10
11
12
13
14
15
16
17
18
19
Transcribed Image Text:Script e 1% Define variables: 2 % income Income in dollars 3 % tax2002 -- Tax 2002 owed in dollars 4% tax2009 5 % Simulate: Prompt the user for the input power. Tax 2009 owed in dollars 6 sampleData 7 income =| [5000 50000 100000]; sampleData(1,randi([1,3])); 8 fprintf('Taxible income: $%0.2f \n",income); 9% Calculate 2009 basic tax 10 11 12 13 14 15 16 17 18 19
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY