Calculating Future Investment Value
Write a program that reads in investment amount, annual interest rate, and number of years, and
displays the future investment value using the following formula:
and displays the future investment value using the following formula:
futureInvestmentValue =
investmentAmount * (1 + monthlyInterestRate)numberOfYears*12
For example, if you enter amount 1000, annual interest rate 3.25%, and number of years 1, the
future investment value is 1032.98.
Hint: Use the Math.pow(a, b) method to compute a raised to the power of b.
Here is a sample run:
Enter investment amount: 1000 (enter)
Enter annual interest rate: 4.25 (enter)
Enter number of years: 1 (enter)
Accumulated value is 1043.34
12 years ago
5
Answer(2)![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- futureinvestment.java
Purchase the answer to view it

NOT RATED
Bids(1)
other Questions(10)
- 4x + y = 10
- Probability question 2
- Explain the ionic basis of the membrane potential, its relationship to ionic equilibrium potential and the Nernst equation
- Petries Case Study and questions 1 threw 5
- A disgruntled physics student stands on the roof of a building that is 37.9 m tall and throws their physics...
- Long lasting and difficult conflicts between individuals usually stem from differences in: a. emotions b. values c. perceptions d. communication styles
- If 3/5 of 4 is 6 2/5 than why is 4 divided by 3/5 6 2/3
- f(x)=120x / 100-x Suppose that in a certain city a lake has become polluted. The city wishes to assess the cost...
- Operation management
- How do you cite a textbook?