Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11:40 AM uwm.courses.wisconsin.edu Your boss wants a MATLAB script that will allow the user to enter their name, taxable income (TI) and their filing status

image text in transcribed
11:40 AM uwm.courses.wisconsin.edu Your boss wants a MATLAB script that will allow the user to enter their name, taxable income (TI) and their filing status (Single or Married). The script will then compute the user's estimated taxes under the new law and show a report with the user's name, filing status, TI and their estimated tax. The script will use a user defined function called 'taxes'. This function will receive as arguments the taxable income of the user and a single character indicating the filing status. "S for single and "'M for married. This should be validated. Rate Single Married Taxable Income 0-$19,050 10% 0-59525 12% $9526 $38,700 $19,051-$77,400 22%$38,701-$82.500 S77.401-$165,000 24% S82.501 . $157.500 $165.000-$315.000 32% SI 57.501-$200.000$315,001-$400,000 35% S200.000-$500.000$400,001-S600.000 37% over $500,000 over $600,000 Outline: 1. Display a short welcome message to the user 2. Prompt the user to input their name, their TI and their filing status. 3. Call the function taxes and compute the estimated taxes. 4. Display a brief report, including all of the above indicated inputs and result(s), which is formatted in a logical and readable fashion Note(s): Your program should produce output identical (when given the same input(s) to the sample run(s) below, values and format. Sample Run Welcome to the 2018 Tax Estimator Enter your name: Paul McNally Enter your taxable income: 21000 Enter you filing status, S for single or M for Married: S Paul McNally Taxable Income: $21000 Filing Status: Single Estimated Taxes: $2330

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions