- #1

lsepolis123f

- 13

- 0

## Homework Statement

// given in JavaScript

var amount = parseInt($('input[name="amount"]').val());

var downpayment = parseInt($('input[name="downpayment"]').val());

var interest = parseInt($('input[name="interest"]').val());

var months = parseInt($("#months").val());

## Homework Equations

What is the car leasing calculation formula - what must be...? given above... I have to do in JavaScript... but Not know the formula...

## The Attempt at a Solution

end result:

- months to finish
- pay per month amount