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

Describe the purpose of learner assessments

Using appropriate citations and references, explain how the empirical findings presented in the assigned articles suggest the importance of applying self-regulation and meta

Define the sdlc model and methodology

Select a System/Software Development Life Cycle (SDLC) model and methodology then apply this model and methodology to a project using the Information Technology (IT) special

What is your understanding of the concept of dbms

What is your understanding of the concept of DBMS? Now that you have read the included documents, briefly discuss how DBMS can help your organization (advantages & disadvant

Create an implementation plan for your organization

Create an implementation plan for your organization, one of the Virtual Organizations, or a project from the websites such as challenge.gov or a state RFP site. Obtain instr

What are the strengths and weaknesses of this rfp

What are the strengths and weaknesses of this RFP and Does the RFP expressly state organization and user needs? If so, what are these? If not, why is the RFP failing to do so

What project areas need to be assessed

What project areas need to be assessed in a readiness process? What is included (and not included) during the stabilization timeframe - Why is knowledge transfer important to

Does it fit into our contemporary society

In this exercise you are to write a short paper (1-2 pages of text) analyzing the term "white collar crime." I am looking for a thorough analysis of how the meaning of this

Discuss the different types of surveillance systems

Discuss the different types of surveillance systems available to the public health and medical community. What are the issues that affect health literacy and how can consumer

Reviews

Write a Review

 
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