n this assignment you will create a program that allows a user to choose one of the following main menu items:
C) Create a bank account by supplying a user id and password.
L) Login using their id and password.
Q) Quit the program.
If User enters an option other than (uppercase or lowercase) C, L, or Q, the program does not do anything and shows a message wrong option and displays the menu again.
When user enters option C, the program asks the user to enter a user ID and a password and successfully returns back to the main menu. The login and password should be stored in a file.
If the user chooses option L, the program will display the login prompt and then, it will ask for the password. At this stage, the entered login and password are compared to the stored login/password pair and proper message will show up if the match was not found which takes the user back to the main menu. Now, if login was successful, the following banking menu will be display to let the user choose one of the following tasks:
W) Withdraw money.
D) Deposit money.
B) Request balance.
Q) Quit the program
(again, remember that if the user enters an option other than (uppercase or lowercase) W, D, B, Q, the program should show a message and display the menu again.)
The initial al balance for the user account should be $0.00 If the user chooses option W, the program should ask the user to enter amount user wishes to withdraw.
Validation: In the case of withdraw, if the amount is more than balance the user should be notified and no withdraw will occur.
If the user chooses option D, the program should ask the user how much amount the user wishes to deposit and add it to initial balance.
If the user chooses option B, the program should display the balance amount in the user account. Sample Output:
Hi! Welcome to Future Computer Programmer ATM Machine! Please select an option from the menu below: