Tuesday, October 25, 2011

Lab 5 - FutureValue.java

You are to complete exercise 5.7
(6th ed, p163; 7th ed, p172; 8th ed, p189).

The class name must be FutureValue and it must execute as a command line application.

You will need to use the following function in your code. Be very careful to position your parentheses appropriately.


You must do the work in a method named futureInvestmentValue. This is its header:

   public static double futureInvestmentValue(
                  double investmentValue,
                  double monthlyInterestRate,
                  int years )


Sample Output
Here is a screenshot of my code running.

FutureValue output

Refer to the deliverables post for comment formatting and required program identification information.

Due Date:
Monday, October 31st, 8:00am