November 2008
Intermediate to advanced
208 pages
4h 32m
English
I recently began house shopping. Being a first-time home buyer, the task seemed daunting, especially when I considered the financing options. So, I decided to write a script to help me get a handle on mortgage rates—at least this way, I could estimate my monthly payments. Even though Ruby didn't solve all of the issues related to buying a home, this script helped me get a handle on my financing options.
print "Enter Loan amount: " loan = gets.chomp.to_i print "Enter length of time in months: " time = gets.chomp.to_i print "Enter interest rate: " rate = gets.chomp.to_f/100i = (1+rate/12)**(12/12)-1 ...
Read now
Unlock full access