CpSc 146 Assignment 3 -- Conditional Programming
Fall 2022


25 points

The IRS uses tax brackets to determine how much tax is owed. The following table provides the 2021 federal income tax brackets for single filers:

Write a program that computes the tax for a single filer Prompt the user to enter their income amount for 2021 .
Have them re-enter the amount if it is invalid (below 0 or above 750,000).
Format for output:

Income: $10700
Base Tax Amount: $995.00
Additional tax at the rate of 12%: $90.00
Total tax owed: $1085


You are required to: