Write a program in Java Eclipse for the following program, please.
18. Consider bank accounts in a banking system. Each bank account has numerous transactions: deposits, withdrawals, interest calculations, balance checks, etc. These transactions are performed repeatedly. The amount of deposit will be added to an account balance. The amount of withdrawal will be subtracted from the balance, and an interest amount will be added to the balance. Assume that the interest rate is 5% annually and an interest calculation is performed once a month with the 1/12th of the annual interest. It means that interest is calculated every month and added to the balance. Format the numbers (Refer to Coding List 4.9). A sample run at the command line is shown below:
DLEEEEEEHSPC
withdrawal:
(4Display0
withdrawal: