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 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 $owedtaxes 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:
You owe $ this year.
Enter your total income this year:
You owe $ this year.
Enter your total income this year:
You owe $ 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
