Question

File Edit View Windew Help ⑦ A Sign In Home Tools IT109N Assigmenx d share By completing this assignment, students should beFile Edit View Windew Help ⑦ A Sign In Home Tools IT109N Assigmenx 也Share 3 F4 You are to write a program to compute personalFile Edit View Windew Help Home Tools Sign In IT109N Assigmenx Share ELIVERABL The following items must be uploaded to Blackb

I have already done the source code

I just need help in the analysis part and design part

asap

Thank you

File Edit View Windew Help ⑦ A Sign In Home Tools IT109N Assigmenx d share By completing this assignment, students should be able to: Assign expressions to variables Perfarm arithrietic calculations using Java Implement console user input/output in their programs . Use If clse statements to control the flow of logic in a program Computing Tax The United States federal personal income tax is calculated based on filing status and taxable income There are four filing statuses: single filers, married filing jointly, married filing separately, and head of household. The tax rates vary every year. Table 1 shows the rates for 2009. If you are, say, single with a taxable income of $10,000, the first $8,350 is taxed at 10% and the other $1,650 is taxed at 15%. So, your tax is $1,082.50. Table 1 2009 U.S Federal Personol lox Rotes d Filing Jointly arried Filing Head of Household r Qualified ax Rate Widow(er) 0- $B,350 0- $16,700 $0- $8,350 50 $11,950 10% 51-$33,950 351-$33,950 11,951 $45,500 15% 16,701- $67,900 5% 33,951 $82,250 $67,901-$137,050 33,951- $68,525 $45,501 $117,450 2,251 $171,550 $137,051-$208,850 $68,526-$104,425 $117,451 $190,200 28% 171,551 $372,950 $208,851 -$372,950 $104,426 $186,475 $190,201 $372,950 33% 372,951 5% 72,951+ 372,951+ 186,476+ I+
File Edit View Windew Help ⑦ A Sign In Home Tools IT109N Assigmenx 也Share 3 F4 You are to write a program to compute personal income tax. Your program should prompt the user to enter the filing status and taxable income and compute the tax. Enter for single filers, 1 for married filing jointly, 2 for married filing separately, and 3 for head of household Here 비e sample runs of the pr pugra: Sample 1: Enter the riling status: 0 Enter tho taxable incomo: 100000 Sample 2: Enter the riling status: 1 Enter the taxable income: 300339 Tax is 76932.87 Sample 3: Enter he filing status: 2 Enter the taxable income: 123500 Tax is 29665.S Sample 4 Enter the filing status: 3 Enter the taxable income: 1545102 Tax is 1565251 I+ @ti ^ @o_LNG
File Edit View Windew Help Home Tools Sign In IT109N Assigmenx Share ELIVERABL The following items must be uploaded to Blackboard before or on the due date A report ino more than 1000 words) containing the following sections: 1. i. Analysls Describc the problem including input and output in your own words. ii. Design Describe the major steps for solving the problem. You may even include pseudocode, flowcharts, or relevant design diagrams to help describe the design of your solution. ii. Testing Destribe how you test this program. The following tahle may be used to document your test cases Test ID Results Actual Results vSource code Include your source code here. Please ensure that your program is properly I+
0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • Analysis
  • Here the problem is to calculate personal income tax.
  • To calculate the tax two parameters are considered .
  • They are filing status and taxable income.
  • Filing statuses are of four types.They are single filers , married filing jointly , married filing separately , and head of household.
  • We have to calculate the tax by reading the filing status and the taxable income from the user.
  • ​​​​​​​Design (Algorithm is used to describe the design)​​​​​​​​​​​​​​​​​​​​​
  1. Start
  2. Declare variables such as filing_status, taxable_income, tax to store filing status(0 to 3) , taxable income , and tax respectively.
  3. Display a prompt "Enter the filing status : ".
  4. Read the filing status to variable filing_status ( values are 0 to 3).
  5. Display a prompt "Enter the taxable income : ".
  6. Read taxable income to variable taxable_income.
  7. If filing_status=0 go to step 8 , otherwise go to step 9.
  8. Update tax=(marginal_tax_rate/100)*taxable_income , go to step 16
  9. If filing_status=1 go to step 10 , otherwise go to step 11.
  10. Update tax=(marginal_tax_rate/100)*taxable_income , go to step 16
  11. If filing_status=2 go to step 12 , otherwise go to step 13.
  12. Update tax=(marginal_tax_rate/100)*taxable_income , go to step 16
  13. If filing_status=3 go to step 14 , otherwise go to step 15.
  14. Update tax=(marginal_tax_rate/100)*taxable_income , go to step 16
  15. Display "Please enter a valid filing status : " go to step 17
  16. Display "Tax is : tax" .
  17. Stop
Add a comment
Know the answer?
Add Answer to:
I have already done the source code I just need help in the analysis part and design part asap Thank you File Edit View...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Java Programming Basic and Clean Approach, Please post the answer in Text Format. Computing Tax Problem...

    Java Programming Basic and Clean Approach, Please post the answer in Text Format. Computing Tax Problem Description: The United States federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly, married filing separately, and head of household. The tax rates vary every year. Table 3.2 shows the rates for 2009. If you are, say, single with a taxable income of $10,000, the first $8,350 is taxed at...

  • import java.util.*; //Include the needed package public class IncomeTax //Class { public static void main(String[] arg...

    import java.util.*; //Include the needed package public class IncomeTax //Class { public static void main(String[] args) { Scanner scInput = new Scanner(System.in); //Create new instance    System.out.println("\nEnter the filing status"); //Prompt for input System.out.println("\0 for filling as single. "); System.out.println("\1 for filling as married jointly. "); System.out.println("\2 for filling as married separately. "); System.out.println("\3 for filling as head of household. "); int filingStatus = scInput.nextInt(); System.out.println("Enter the taxable income:"); double ti = scInput.nextDouble(); double it = 00.00; if(filingStatus==0) { if (ti<=8350)...

  • Use the table to answer the questions. In relation to taxes, Ramone will be filing as...

    Use the table to answer the questions. In relation to taxes, Ramone will be filing as married filing jointly. Ramone is making $156,141.00 this year as an employee of Rust-Eze; he has no other income. Do not consider any deduct this question Married filing jointly or Tax rate Single Married filing separately Head of household qualified widow(er) 10% $0-$8,350 $0 $16,700 $0-$8,350 $0-$11,950 15% $8,351 $33,950 $16,701 $67,900 $8,351-$33,950 $11,951 $45,500 2593 $33,951-$82,250 $67,901-$137,050 $33,951-$68,525 845,501-$117,450 2856 $82,251-$171,550 $137,051-$208,850 $68,526...

  • I need this in Pyhton saw similar entries but they were on C++ In this project,...

    I need this in Pyhton saw similar entries but they were on C++ In this project, you will calculate someone’s taxes based on their filing status and their income. Thus, you have two different questions and, based on the result of both, you will determine the taxes paid. First, you must determine their filing status: single or married filing jointly. Then you need to determine their income. The chart below will determine the percentage they will pay based on their...

  • Charles and Joan Thompson file a joint return. In 2018, they had taxable income of $92,370...

    Charles and Joan Thompson file a joint return. In 2018, they had taxable income of $92,370 and paid tax of $12,202. Charles is an advertising executive, and Joan is a college professor. During the fall 2019 semester, Joan is planning to take a leave of absence without pay. The Thompsons expect their taxable income to drop to $70,000 in 2019. They expect their 2019 tax liability will be $8,015, which will be the approximate amount of their withholding. Joan anticipates...

  • Please write in MATLAB code Write a program that can calculate the amount of federal tax...

    Please write in MATLAB code Write a program that can calculate the amount of federal tax a person owes for the upcoming year. After calculating the amount of tax owed, you should report to the user their filing status (single/joint), which tax rate they fell under, as well as the tax owed. Example: “As a single filer you fell under 12% tax bracket and you owe $3500.” Disclaimer: This example is simplified and is not intended to be an accurate...

  • Problem 2-45 (LO 2-6) Charles and Joan Thompson file a joint return. In 2018, they had...

    Problem 2-45 (LO 2-6) Charles and Joan Thompson file a joint return. In 2018, they had taxable income of $107.440 and paid tax of $15,516. Charles is an advertising executive, and Joan is a college professor. During the fall 2019 semester, Joan is planning to take a leave of absence without pay. The Thompsons expect their taxable income to drop to $88.000 in 2019. They expect their 2019 tax liability will be $11,083, which will be the approximate amount of...

  • Problem P4-6 (similar to) Question Help Calculate the total 2017 tax liability for a surviving spouse...

    Problem P4-6 (similar to) Question Help Calculate the total 2017 tax liability for a surviving spouse with one dependent child with a gross income of $46,320, no salary reductions for employer-provided benefits, and no itemized deductions. Assuming the single parent taxpayer's filing status is Married Filing Jointly or Surviving Spouse, the taxpayer's standard deduction for the 2017 tax year is $ 20050 (Round to the nearest dollar.) a Data Table Standard Deduction Amounts Filing Status Single Married Filing Jointly or...

  • 8. Which of the following statements about the estate and gift tax is (are) correct? I....

    8. Which of the following statements about the estate and gift tax is (are) correct? I. There is no estate or gift tax due at the death of the first spouse. II. There is no estate or gift tax due if a single mother gives her son a $35,000 car. I only b. II only Both I and II d. Neither I nor II a 9. Which tax form should Jack and Jill a married couple file if they need...

  • David and Ruby are engaged and plan to get married. During 2020, David is a full-time...

    David and Ruby are engaged and plan to get married. During 2020, David is a full-time student and earns $9,400 from a part-time job. With this income, student loans, savings, and nontaxable scholarships, he is self-supporting. For the year, Ruby is employed and has wages of $79,200. Click here to access the standard deduction table to use. Click here to access the Tax Rate Schedules. If an amount is zero, enter, "0". Do not round your intermediate computations. Round your...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT