Write a program which computes the amount tax to be paid
Course:- Management Information Sys
Reference No.:- EM131383292

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Management Information Sys

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.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Management Information Sys) Materials
B6111.52- Describe risks IT might face when implementing change. Identify how IT supports business processes. The business is relying on their capabilities to achieve the busi
technology usage policies - Being considered an ethical company by consumers can help a company to increase its market share. How can a company's standards in relation to te
Develop an application review matrix that may help support the installation of a software application at a health care organization.Discuss legislative and regulatory rule
Supply chain management is an important part of a company's distribution strategy. Determine (REI) Recreational Equipment Incorporated and outline their current channel and
The final step in developing the network security plan is to define how the plan that you have developed will be implemented within the organization. Implementing security c
New technology and old ways - Does the implementation of new technology always mean the end of old ways of doing things? What are the dangers of continuing to do things the
Design services (Define message schema types, develop an abstract service interface, apply principles of service-orientation, standardize and refine the service interface, e
How has technology increased contact among people who are similar? How has technology increased contact among people who are different? How does technology strengthen communic