program ,deposit of an amount of money in a bank
please i need ur help on this question please any hint
A customer makes a deposit of an amount of money in a bank, this amount is designed by IniAmount ,
The bank gives 6% of compound interest, which means that at the end of the year, the new amount is calculated based on FinAmount.
What you should do:
You should write a java code; This code should calculate the FinAmount at the end of each year.
And same output, for IniAmount = 1000$.
The output should have this structure:
IniAmount = 100 $
In this part, you take the same problem, but this time, you should write a java code, that calculate the number of years, after what the FinAmount becomes the double of IniAmount.
The output should be as following:
IniAmount Interest Number of year
100 3% n
1000 2% n
10000 1.5% n
Re: program ,deposit of an amount of money in a bank