How will a loan applicant’s credit rating affect the interest rate on the loan he or she receives? Why?

How will a loan applicants credit rating affect the interest rate on the loan he or she receives Why class=