View Single Post
Old 17-08-2009, 14:12   #72
Damien
Remoaner
Cable Forum Team
 
Damien's Avatar
 
Join Date: Mar 2004
Posts: 32,796
Damien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver bling
Damien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver blingDamien has a lot of silver bling
Re: Programming Challenges?

Quote:
Originally Posted by danielf View Post
I've got another one. It's a mortgage calculator. Say you have a mortgage of £100,000. Specify an interest rate and monthly repayment amount. What you want to determine is the number of months required to pay off the balance, keeping in mind that you will accrue interest on the outstanding balance. My solution is 8 lines long. You can check your solution against the calculators floating around on the web.
Cool. I'll do that soonish. Is this flat rate interest or is this ongoing? So is the interest calculated by a percentage of the total amount? (i.e 10% of 100,000)?
Damien is offline   Reply With Quote