Sale and Loan Amount Calculator