if (borrower.creditScore < 500) {
result.message = 'Your credit score of ' + borrower.creditScore +
' does not meet the 500 requirement.'
scriptExit.noMessage()
}
// Qualifies. Determine interest rate based on loan amount and credit score.
result.qualified = true
result.message = 'Congratulations, you qualify.'
result.interestRate = 0.08 // Big loans and poor credit require higher rate.