View the step-by-step solution to:

Question

# 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. Submit the following item as Assign2.java. Compile, run, and verify that you are getting a similar run to what I listed below (you must submit the program regardless whether it complete or incomplete, correct or incorrect)

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

### -

Educational Resources
• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents