[java]Loan repayment calc?
I’ve been working on a simple loan repayment calculator since I’m considering taking out a mortgage on a new home and selling the one that I’m in somewhat soon. With that said, my first program calculates the amount / month that would need to be paid. My code for that is here: http://pastebin.com/vyELbev1
I’ve come to the realization that I could probably save a LOT of money if I paid once a year (since the interest wouldn’t build up as fast / as high), but I can’t think of how to take something like a 30 year mort, and program paying once a year using the code that I’ve already made.