Future Value of a deposite
Write a program to determine the future value of the deposits. The user will provide the amount of the initial deposits, the interest rate, and the number of years of investment. Then, the program will calculate the deposit of the given year. Assuming there is no additional transaction to the deposits.
The task is listed as follows
1) Read the initial deposits, the interest rate, and the number of year.
2) For each year
a. The deposits will be increased by interest.
b. The interest is calculated by multiplication of deposit of the previous year and the interest rate.
3)Display the deposits of the given year.