The bank decides to charge 2% of the amount as service charges per year.
The bank will close your account when the amount becomes less than 1500 AED. Write a program that accepts the amount you want to save in the bank and prints for you the depreciation (decrease) in your savings every year because of only the bank charges.
The program should also tell you in how many years will your account be closed because its balance will go below 1500 AED.