Bifalgorithm post · Computer science one · Life & Taxes
How is the child tax credit calculated and limited by total tax liability?
How is the child tax credit calculated and limited by total tax liability? (Computer science one · Life & Taxes) — "Next we compute the child tax credit, takin…
Ideas in this flowchart
- Compute the child tax credit and apply it to the total tax liability.
- The child tax credit must not exceed $3,000.
- Determine the credit from the number of children.
- Is numChildren less than or equal to 3?
- Set credit to numChildren multiplied by 1000.
- Set credit to $3,000.
- Is the credit greater than the total tax liability?
- Set the tax to zero rather than allowing a negative tax.
- Apply the credit without exceeding the total tax liability.