The user is presented with a menu that looks something like this:
3. Check Balance
The user is asked to enter a 1, 2, 3, or 4 to choose an option. Have the program print out the choice that they made.
You want to create at least 5 methods plus the main method.
You will need a method for the menu. The user should make a choice in there and the choice should be returned to the main.
Based on the choice, it should do one of the 4 options.
Now the 4 options will be methods. One will be to do the deposit. Make the deposit. Pass the balance into it and add get the deposit amout. Add the deposit to the balance and return the new balance.
Withdrawal works the same way, except for withdrawing.
Balance check will pass the balance into it and then just show the new balance.
Of course, you can do the exit one as you wish.
This will all be handled in a loop in the main method.
This code should be written in Java programming language.
Hello, We can only answer your free 3 questions per day one at a time. Please re-submit an individual question here:... View the full answer