Question: Use c language not c++ Please send your answer as soon as possible, I am on the exam now The personal income tax is calculated

Use c language not c++
Please send your answer as soon as possible, I am on the exam now
The personal income tax is calculated based on the status and taxable income. There are three statuses: Single (S), Married (M), and Head of Household (H). The tax rates for 2020 are shown in the below table. Write a program that prompts the user to enter the status as a character: S, M or H, and taxable income and computes the tax. Tax rate Single Married Head of household 10% Up to 10,000 10,001 - 37,450 15% Up to 6,000 6,000 - 27,950 27.951 - 67,700 67,701 - 141,250 Up to 12,000 12,001 - 46,700 46,701 - 112,850 27% 37,451 - 96,700 30% 112,851 - 171,950 96,701 - 156,600 35% 141,251 - 307,050 171,951 - 307,050 156,601 - 307,050
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
