Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q1: Computing Taxes [4 marks] . The personal income tax is calculated based on the status and taxable income. There are three statuses: Single (S),
Q1: Computing Taxes [4 marks] . 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 6,000 Up to 12,000 Up to 10,000 15% 6,000 27,950 12,001 - 46,700 10,001 - 37,450 27% 27,951 - 67,700 46,701 112,850 37,451 - 96,700 30% 67,701 - 141,250 112,851 - 171,950 96,701 156,600 35% 141,251 - 307,050 171,951 307,050 156,601 307,050 38.6% 307,051 or more 307,051 or more 307,051 or more
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started