# Math 3300 | Computer Science homework help

Math 3300 Programming Assignment 4 Instructions:. Your program should then sort the 4 numbers from smallest to largest and then display the sorted list. Your program should also be able to handle an incorrect input (like if the user enters a negative number for income, or an incorrect choice for filing status). This program may seem daunting, but it is much easier if you realize that the calculations performed for each filing status (column in table above) would be the same for each tax bracket (each filing status has 6 tax brackets (the rows in the table above)), and only the ranges of incomes for the tax brackets change between the different filing statuses. A switch statement might be useful to set the income levels based on choice of filing status, before the calculations are completed. Write a program that will ask the user to select how he or she will file (Single, Married Filing Jointly, Married Filing Separately, or Head of Household), and asks for the user’s taxable income. Your program should then display the user’s tax bracket (10%, 15%, 25%, 28%, 33%, 35%), the user’s federal income tax, and the actual percentage of the user’s income has been paid for taxes. You will have to use a series of if, if-else, or switch statements. Your program should also be able to handle an incorrect input (like if the user enters a negative number for income, or an incorrect choice for filing status).