Write a method on elicpse, computeFutureValue, which receives the investment amount, annual interest rate and number of months as parameters and does the following: Prints the interest amount earned...


Write a method on elicpse, computeFutureValue, which receives the investment amount, annual interest rate and number of months as parameters and does the following: Prints the interest amount earned each month and the new value of the investment (hint: use a loop).



Sample Program running
Enter the investment amount
10000
Enter the annual interest rate
5.75
Enter the number of months
18
Monthly Interest and Investment value
Month Interest Value
===== ======== =====
1 $47.92 $10,047.92
2 $48.15 $10,096.06


3 $48.38 $10,144.44
4 $48.61 $10,193.05
5 $48.84 $10,241.89
6 $49.08 $10,290.97
7 $49.31 $10,340.28
8 $49.55 $10,389.82
9 $49.78 $10,439.61
10 $50.02 $10,489.63
11 $50.26 $10,539.89
12 $50.50 $10,590.40
13 $50.75 $10,641.14
14 $50.99 $10,692.13
15 $51.23 $10,743.37
16 $51.48 $10,794.84
17 $51.73 $10,846.57
18 $51.97 $10,898.54
The total interest earned in 12 months is $898.54



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here