Write a program which computes the amount tax to be paid

Assignment Help Management Information Sys
Reference no: EM131383292

Write a program which computes the amount tax to be paid based on the following rule. The tax is:

* No tax if your income is less than or equal to $50,000 (inclusive)

* 5% if the income is over $50,000 up to 75,000 (inclusive)

* 7% if the income is over &75,000 up to 100,000 (inclusive)

* 10% if the income is over $100,000.

The program asks a user to enter his/her income and computes the amount of tax payable, as shown below (use the following test case for submission):

Enter the income: 125000

The tax payable would be 12500.0

Part B) P.3.25 (page 154); Due by Sunday, Feb 5th

Hint: review the code example (taxes.py) in section 3.3

Use the following test case (run your code with both test cases below):

Are you married or single (M or S)? M

What is your income? 78000

Your tax payable is 12300.0

Run your program with another test case:

Are you married or single (M or S)? S

What is your income? 28000

Your tax payable is 3800.0

For final electronic submission:(due by Sunday)

* One zip file (two python files for Part A and Part B).

* One PDF report file ( source code part A + execution result + source code part B + execution results (two test cases))

* In summary, I expect to see two files: one zip file + one PDF file.

* Please name your files appropriately. For example, yourFirstName-LastName-HW2.PDF, FirstName-LastName-HW2-PartA.py, FirstName-LastName-HW2-PartB.py, etc.

Reference no: EM131383292

Questions Cloud

Quality function deployment : What is QFD (Quality Function Deployment)? Explain and illustrate with an example how quality function deployment translates customer desires into product/service attributes.
Find time average of the appararent weight of the hourglass : Show that, if a system moves from one state of rest to another over a certain time interval, then the average of the total external force over this time interval must be zero.- Find the time average of the appararent weight of the hourglass over th..
Processes using statistical quality control : Q1: Identify all of the areas of a consumer products company in which statistical quality control can be applied. How do you measure effectiveness of processes using statistical quality control?
What frequencies are produced at its output : A transmitter operates with a carrier frequency of 7.2 MHz. It is amplitude modulated by two tones with frequencies of 1500 Hz and 3000 Hz. What frequencies are produced at its output?
Write a program which computes the amount tax to be paid : Write a program which computes the amount tax to be paid based on the following rule. The tax is:No tax if your income is less than or equal to $50,000 (inclusive).5% if the income is over $50,000 up to 75,000 (inclusive). 7% if the income is over &7..
Would it help if he juggles his balls while he crosses : The juggler wishes to cross a shaky bridge that cannot support the combined weight of the juggler and his balls. Would it help if he juggles his balls while he crosses?
Assessment of legislative roles : Given the readings this week, you now have an understanding of the legislative and judicial branches. Write a paper examining the roles of the legislative branch in health policy. Describe how this branch needs to relate to other stakeholders and ..
Show boat will eventually come to rest : If the water offers a resistance to the motion of the boat proportional to the velocity of the boat, show that the boat will eventually come to rest at its orginal position.
Risk manager for orlando radiology : You are the risk manager for Orlando Radiology. Your organization operates 10 medical imaging facilities throughout the Orlando, FL region. As the risk manager, you are responsible for safety, risk management, insurance programs, and workers' comp..

Reviews

Write a Review

Management Information Sys Questions & Answers

  Identify existing automation systems

Design services (Define message schema types, develop an abstract service interface, apply principles of service-orientation, standardize and refine the service interface, extend the service design, and finally identify other services)

  Cincinnatti software scheduling techniquecincinnatti

cincinnatti software scheduling techniquecincinnatti software which currently specializes in the installation of

  You have recently been hired to improve the quality of

you have recently been hired to improve the quality of services at a healthcare organization. your supervisor would

  Country specific informationim doing a research paper and i

country specific informationim doing a research paper and i am looking for assistance please provide resourcescuba

  Discuss any ethical issues concerning pierres behavior

Was a valid contract formed between Pierre's and Maynard? Explain.If a valid contract was formed, does Maynard have any arguments to have his money refunded?What are Maynard's rights under the Uniform Commercial Code (UCC) with respect to the "as-is"..

  About social engineering audit

Social Engineering Audit

  Prepare an implementation and management plan

Prepare an implementation and management plan for a wireless network including defining the organizational problem(s) like organization goals or communication issues

  How do enterprise applications collaboration and

how do enterprise applications collaboration and communication systems and intranets improve organizational

  Explain how logical and physical representations of system

Logical and physical representations - Explain how logical and physical representations of a To-Be system will differ.

  The answer to management information systemsif the project

the answer to management information systemsif the project team determines that the best alternative is to modify a

  A patient went to see his doctor in a clinic a front desk

a patient went to see his doctor in a clinic. a front desk assistant advised the patient to complete an online

  Desirable and undesirable aspects of this fragmentation

Create a presentation in PowerPoint (using both the slides and instructor's notes sections) in which you address the following questions: What are the desirable and undesirable aspects of this fragmentation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd