(Financial application: calculating the future investment value) Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula:
futureInvestmentValue = investmentAmount x (1 + monthl yInterestRate)mmberOfYears*12
For example, if you enter amount 1000, annual interest rate 3.25%, and number of years 1, the future investment value is 1032.98. Hint: Use the Math . pow(a , b) method to compute a raised to the power of b. Here is a sample run;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.