Page 1 of 1

2.27 Financial application: calculate future investment value Write a program that reads in investment amount, annual in

Posted: Mon Jun 06, 2022 1:17 pm
by answerhappygod
2 27 Financial Application Calculate Future Investment Value Write A Program That Reads In Investment Amount Annual In 1
2 27 Financial Application Calculate Future Investment Value Write A Program That Reads In Investment Amount Annual In 1 (119.62 KiB) Viewed 48 times
2.27 Financial application: calculate future investment value Write a program that reads in investment amount, annual interest rate, and the number of years, and displays the future investment value using the following formula: futureInvestmentValue = investmentAmount*(1+monthlyInterestRate) ^ numberOfYears*12 For example, if you enter the amount 1000, an annual interest rate 3.25%, and the number of years 1, the future investment value is 1032.99. Sample run: 1000 3.25 1 The accumulated future value is $1,032.99 396146.1271760.qx3zqy7 LAB 2.27.1: Financial application: calculate future investment value 0/20 ACTIVITY FutureValue.java Load default template... 1 import java.util.Scanner; 2 public class FutureValue { 3 public static void main(String[] args) { 4 Scanner input = new Scanner(System.in); 5 double investment Amount; 6 double annualInterestRate; 7 int numberOf Years; 8 9 // Your code goes below 10 11 12 13} }