maybe i am not thinking straight or just idk but i need help again i am writing a program again and this is what he is asking for
Write a program that calculates the amount of tax based on the annual income and filing status of a person. The program must ask a user to enter his/her annual income and filing status and display the amount of tax on the screen. Your program must serve any number of customers until a user wishes to stop the execution. You must write functions for each task. Tax must be calculated according to the following tables:
Filing Status
Annual Income
Tax
Single
0 - $26,250.00
15 % of the income
Single
$26,250.01-$63,550.00
$3,937.50 + 28% of the amount over $26,250
Single
$63,550.01 and over
$14,381.50 + 31% of the amount over $63,550
Married filing jointly
0 - $43,850.00
15 % of the income
Married filing jointly
$43,850.01-$105,950.00
$6,577.50 + 28% of the amount over $43,850
Married filing jointly
$105,950.01and over
$23,965.50 + 31% of the amount over $105,950
Married filing separately
0 - $21,925.00
15 % of the income
Married filing separately
$21,925.01-$52,975.00
$3,288.75 + 28% of the amount over $21,925
Married filing separately
$52,975.01 and over
$11,982.75 + 31% of the amount over $52,975
Please use 1 for Single filing status, 2 for Married filing jointly, 3 for Married filing separately
i cant figure it out could someone help me please thank you.
Write a program that calculates the amount of tax based on the annual income and filing status of a person. The program must ask a user to enter his/her annual income and filing status and display the amount of tax on the screen. Your program must serve any number of customers until a user wishes to stop the execution. You must write functions for each task. Tax must be calculated according to the following tables:
Filing Status
Annual Income
Tax
Single
0 - $26,250.00
15 % of the income
Single
$26,250.01-$63,550.00
$3,937.50 + 28% of the amount over $26,250
Single
$63,550.01 and over
$14,381.50 + 31% of the amount over $63,550
Married filing jointly
0 - $43,850.00
15 % of the income
Married filing jointly
$43,850.01-$105,950.00
$6,577.50 + 28% of the amount over $43,850
Married filing jointly
$105,950.01and over
$23,965.50 + 31% of the amount over $105,950
Married filing separately
0 - $21,925.00
15 % of the income
Married filing separately
$21,925.01-$52,975.00
$3,288.75 + 28% of the amount over $21,925
Married filing separately
$52,975.01 and over
$11,982.75 + 31% of the amount over $52,975
Please use 1 for Single filing status, 2 for Married filing jointly, 3 for Married filing separately
i cant figure it out could someone help me please thank you.