- Make an algorithm to calculate the income tax to be paid by a taxpayer,
considering:
The. SSN, number of dependents, annual income will be provided.
B. A discount of R $ 1,500.00 per dependent will be made.
C. The rates of the tax calculation rate are:
Net income Aliquot
R$ 28.000,00 free
R$ 28.000,01 a 40.000,00 15%
R$ 40.000,01 a 50.000,00 10%
above R$ 50.000,00 27,5%
Net income = annual income - discount per dependent.
D. Print the SSN and the Tax to be paid by the taxpayer.