Write a method that computes future investment value at a given interest rate for a specified number of years. Use the following method header:
public static double futureInvestmentValue(double investmentAmount, double monthlyInterestRate, int years)
For example, futureInvestmentValue(10000, 0.05/12,5) returns 12833.590.
Write a test program that prompts the user to enter the investment amount (e.g., 1000) and the interes rate (e.g., 9%), and prints a table that displays future value for the years from 1 to 30.
The formula for it is
Future = invest * (1 + monthlyrate)^years*12
*** if anyone could help me, i would really appreciate it. please.
ill do anything for whoever helps me.
ill help someone with their problem or anything else