Write a program named Investment.java that calculates the amount of money earned
on an investment that includes 12 percent interest. Prompt the user to choose the
investment amount from one menu and the number of years for the investment from a
second menu. Display the total amount (balance) for each year of the investment. Use
a loop instruction to calculate the balance for each year. Use the formula amount =
investment * (1 + interest) raised to a power equal to the year to calculate the balance
javahunter September 19, 2012 at 2:32 PM
Write a program named Investment.java that calculates the amount of money earned on an investment that includes 12 percent interest. Prompt the user to choose the investment amount from one menu and the number of years for the investment from a second menu. Display the total amount (balance) for each year of the investment. Use a loop instruction to calculate the balance for each year. Use the formula amount = investment * (1 + interest) raised to a power equal to the year to calculate the balance
Post your Comment