Question: Write a program to calculate how much you owe in taxes based on your income. You will use the numbers from the 2 0 2

Write a program to calculate how much you owe in taxes based on your income. You will use the numbers from the 2023 federal tax brackets. You can also find a brief explanation of tax bracket calculations on that site.
All outputs should display exactly two decimal places, and should be rounded.
Input:
Enter your total income this year:
Output:
You owe ${owed_taxes} this year.
You may assume:
All inputs are positive numbers
The program user is a single taxpayer
The only factors that impact taxes are total income and the tax bracket chart.
Examples:
Enter your total income this year: 1000000
You owe $330332.00 this year.
Enter your total income this year: 500000
You owe $146894.50 this year.
Enter your total income this year: 10.50
You owe $1.05 this year.
PLEASE MAKE SURE THAT I CAN COPY AND PAYSTE YOUR PROGRAM!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!