How is the national debt affected by the national budget?

The debt decreases as the government prints money.
The debt decreases when spending is greater than taxes.
The debt increases every year that there is a budget deficit.
The debt increases when the budget is balanced.