py code don't do that is incorrect. Else downvote Thank you
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...
Related questions
Question
Copy code don't do that is incorrect. Else downvote
Thank you
![Q1): Computing Taxes [x-Tas]
The personal income tax is calculated based on the status and the taxable income. There are three
statuses: Single (S), Married (M), and Head of Household (H). The tax rates for 2020 are shown
in the below table,
Design a flowchart that prompts the user to enter the status as a character: S, M or H,
and taxable income, then computes the tax value
Your flowchart should perform the following:
Declare an integer variable as global, named ChildrenNum
Declare a real variable as global, named TaxRate
ReadInfo(), a module that receives the status and the income as reference parameters.
This module is used to read the status and the income of the employee. In this module,
you need to decide and update about the TaxRate based on the status and the income
entered (based on the table shown below).
Also, you need to ask the employee about his/her number of children and to store the
value in ChildrenNum.
• ComputeTaxValue(), a module to return the computed tax based on the following
formula:
TaxValue = (TaxRate * Income) - (ChildrenNum*50)
• DisplayTaxValue(), a module to display the tax value on the screen
Tax rate
Single
Married
10%
Up to 6,000
Up to 12,000
15%
6,000 – 27,950
12,001 – 46,700
27%
27,951 - 67,700
46,701 - 112,850
30%
67,701 - or more
112,851-or more](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb4fbe2a4-1e21-489e-8a53-f62b354d9d31%2Ffbf7b0b2-41ce-4e1c-a3dc-074f7c0251c7%2F4w0i6h9_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q1): Computing Taxes [x-Tas]
The personal income tax is calculated based on the status and the taxable income. There are three
statuses: Single (S), Married (M), and Head of Household (H). The tax rates for 2020 are shown
in the below table,
Design a flowchart that prompts the user to enter the status as a character: S, M or H,
and taxable income, then computes the tax value
Your flowchart should perform the following:
Declare an integer variable as global, named ChildrenNum
Declare a real variable as global, named TaxRate
ReadInfo(), a module that receives the status and the income as reference parameters.
This module is used to read the status and the income of the employee. In this module,
you need to decide and update about the TaxRate based on the status and the income
entered (based on the table shown below).
Also, you need to ask the employee about his/her number of children and to store the
value in ChildrenNum.
• ComputeTaxValue(), a module to return the computed tax based on the following
formula:
TaxValue = (TaxRate * Income) - (ChildrenNum*50)
• DisplayTaxValue(), a module to display the tax value on the screen
Tax rate
Single
Married
10%
Up to 6,000
Up to 12,000
15%
6,000 – 27,950
12,001 – 46,700
27%
27,951 - 67,700
46,701 - 112,850
30%
67,701 - or more
112,851-or more
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images

Recommended textbooks for you

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY