- 2
Write a program in java that puts into consideration the description below.
Write a program that accepts the amount of money deposited in a bank account, the annual interest rate and the target amount(The amount of money the acount holder wants to have in the account after a period of time) and then calculates the number of years it will take for the money to accumulate to the target amount. NB: 1) The interest being earned is compound interest. 2)Don't use the formula for calculating compound interest.
0 Réponse