I\'m trying to work on a script where the user inserts a monthly income and gets the future value with compound interest after 30 years. As it is now, I\'ve assigned some values
This is my way of writing code for compound interest
function call()
{
var A = Principle;
var B = Interest;
var C = Years;
var D = 0;
var E = A*B/100;
D+=E;
var f=E+A;
document.write("0 year: Interest "+E+" Principal: "+f);
document.write(" ");
for (var i=1; i");
}
return false;
}