Question: Create a method that will compute and return the future investment value for years 1 to 30. Round to 2 decimal places. Use the formula:
Create a method that will compute and return the future investment value for years 1 to 30. Round to 2 decimal places.
Use the formula:
fiv = investmentAmount * ( Math.pow(1+monthlyInterestRate, years*12))
use Netbeans
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
