Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with Python programming assignment! Can you please show step by step input PYTHON PROGAMMING ASSIGNMENT COSC 1306-Computer Science and Programming Course Problem: A

Need help with Python programming assignment! Can you please show step by step input image text in transcribed
image text in transcribed
PYTHON PROGAMMING ASSIGNMENT COSC 1306-Computer Science and Programming Course Problem: A Simplified version of USA tax cakulation Using python, write a program to get the salary and calculates the tax he/she has to pay based on the income ax rate 10% 15% 25% 28% 33% Up to $9.325 $9,326 to $37,950 $37,951 to $91,900 $91,901 to $191,650 $191,651 or more In your solution Create a function that will gakkylate and retun how much tax will be paid by this person, based on the brackets on the table above. This function will also print after each bucket calculations, the remaining salary, amount of tax paid and total tax (so fan) def calculate Tax (salary Create another function that will ask to different users repeatedly his/her salary. This function will call the function calculateTax to calculate the tax paid. iIf the user enters O as salary, the program will end Submit to Blackboard a single python file named "PeopleSoftd PAZ.py include in the heoder the needed Sample Output Enter your salary: 9000 verall Tour salary-9000 our tax pay-900. Enter your salarys 10000 After BRACKET remaiming salary-675 bracket ax-932-5 otal x-932- Ovezali Your salary $1000 Your tax pay- $1033-7 Enter your salarys 35000 After BACKET s cemaining salary-25675 bracket cax-932.5 eotal x-932 After BRACKET 2 remainingsalary-0 bracket x x-3851 25 cotal tax-47 83-7 Overall Your salary 35000 Your taxpay-947837 Enter your salarys 45000

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

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions