Question: write a program for the IRS that will calculate income tax You will need as input the person's annual salary. Display a iessge that sys:

write a program for the IRS that will calculate income tax You will need as input the person's annual salary. Display a iessge that sys: This year you paid * tax. So your net salary after taxes are taken out is * Farmat your autput to two dri places dollars in Assume that th tax brakrts in thr U.S. are as follaws: Salary Urndr $12,000 $12,001 538,000 $38,001-55,000 Over $55.0D0 Tax Rote 6% 27% 33% 3g% Extra Credit Modify your program to also factor in state and localtaxes, and deductions. You should assume that state and local taxes la combined 15%) only have to be paid by individuals wha earn mare thn $38,000. Additionally, ask the user if they have any children or if they make any student loan payments. f they do hve hren, ask thern h nay, adcate their new taxunt factaringa 5 deduction per child off their pre-tax annual salary If they da rnake student oan payients, ask them hw rruch interest thry paid on the laan last year, and calculate their new tax amount by subtracting the student loan interest from their pre- tax arl salary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
