Write a Java test program, all your code should be in the main method, that asks the user for two numbers representing an investment value and interest rate. Expect the user to enter the interest rate as a real number, so a rate of %6.5 would be entered as 0.065. Your program should calculate the future value of the investment for 5, 10, 15, and 20 years. The formula for future value, using compounding interest, is as follows:
fv = investment * (1 + interestRate)years
Please use JGrasp.(.java file)