Answer to Question #46130 in Other Management for amanda shaffer
Weekly Income Tax Rate
1000.01 and over 0.220
Use a function Tax_Rate() to determine the schedule. Pass the gross pay to
Tax_Rate() and have the function return the rate.
Next,use the function Calc_Fed_Tax() to calculate the federal tax.The first ar-
gument should be the address of the gross income.The second argument should
be the address of the tax rate (as returned by Tax_Rate()).The third argument
should be the address of the number of dependents.The amount of the federal
tax should be returned in the target of the fourth argument.
Finally, the program should calculate the net pay by subtracting the federal tax
from the gross income.The program should display the person’s name,social se-
curity number,gross pay,number of dependents,federal tax,and net pay.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!