Computing The Total Cost And Interest For A Loan