balance = (balance - monthly_principal);
monthly_principal = (monthly_payment - monthly_interest);
The monthly principal should be determined before it is subtracted from the balance, right?
As far as a print statement for paid in full, simply add a print statement after the loop.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494