Question
WellsToGo Bank requires a software in java to display a menu with banking services to the user and prompt the user to choose the required
WellsToGo Bank requires a software in java to display a menu with banking services to the user and prompt the user to choose the required service. When the user choose the menu item the software should be able to do the services.
You have to write a program to display a menu as given below and prompt user for a choice, menu should display after each operation until the user opt to exit.
Welcome to WellToGo Bank Services
Choose 1 for Withdraw
Choose 2 for Deposit
Choose 3 for Check Balance
Choose 4 for EXIT
Enter your choice here:
After the choice if user enters
1
Ask user for amount to withdraw [integervalue]
Update the balance with new balance after withdrawal.
Display the string Collect your Money
2
Ask user for amount to deposit [integervalue]
Update the balance with new balance after deposit.
Display the string Thank You money is remitted
3
Display the balance in the account, with User Name and Account number.
4
Exit from menu
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started