Trying to create a Javascript for future value calculation. This is the code im using but it is not returning a value. Don\'t know where the code is wrong. Has user input