BankTransaction.java This is basically the class that contains the main() method to handle user input for bank transactions. 0. Add header to this file 1. Create a main function 2. Inside main function, create a Bank object called bank 3. Print a welcome message to the user. Make sure you have ``welcome`` in your print statement 4. Print a statement asking the user`s name. Read the name from the user and set it to the userName to your bank object. 5. Print a message asking what operation does the user want, and read user`s input. Make sure you have ``operation`` in your print statement 6. If the input is ``quit`` (ignore case), thanks the user for using the system and exit the program. Make sure you have ``thank`` in your print statement. 7. If the input is ``print`` (ignore case), print the bank`s information using print() method from Class Bank, then repeat from 5. 8. If the input is ``deposit``, ``withdraw`` or ``transfer`` (ignore case): a. Print a message asking which account the user wants and read the user input. You can assume the user will always input ``checking`` or ``saving``. Make sure you have ``account`` in your print statement b. Print a message asking the amount of money and read the user input as double. You can assume the user will always input a positive number. Make sure you have ``amount`` in your print statement c. Update your bank account by the following table:
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |