posted by John
Having troube with java, i am not a regular programmer, if anybody can help me out writting this program:
write a program that takes two numbers from the java console representing, respectively, an investment and an interest rate(you will expect the user to enter a number such as .065 for the interest rate, representing a 6.5% interest rate). Your program should calculate and output (in notation) the Future value of the investment in 5, 10 and 20 years using the following formula:
Future value= investment * (1+interest rate) year
interest is assume annual rate and compounded annually.
Here are some tutorials to help you: