Menu

Topic Java Programming Write Program Reads Investment Amount Annual Interest Rate Number Y Q43883746

Topic: JavaProgramming

Write a program thatreads in investment amount, annual interest rate, and number ofyears, and displays the future investment value using the followingformula:

futureInvestmentValue =

investmentAmount *(1 + monthlyInterestRate)numberOfYears*12

For example, if you enter amount 1000, annual interest rate3.25%, and number of years 1, the future investment value is1032.98.

Hint: Use the Math.pow(a, b) method tocompute a raised to the power of b.

Here is a sample run:

Enter investment amount: 1000

Enter annual interest rate: 4.25

Enter number of years: 1

Accumulated Value is: 1043.33

Expert Answer


Answer to Topic: Java Programming Write a program that reads in investment amount, annual interest rate, and number of years, and …

OR