Project description:
Write an ATM C++ program simulation to do the three common tasks: withdraw, deposit and balance checking
using three C++ functions. You must define 3 users. Each user information is stored in an array. The WETHDRAW
function to make money withdrawal. The DEPOSIT function to deposit money in the account. The CHECKING
function to check the account balance. To withdraw money successfully from the account the balance must be
greater than the amount of money to be taken out of that account. The application will prompt the user to enter the
account user name and password. If the user name is predefined it then asks for the password. It checks the password.
The user has 3 tries to get the password correct. Otherwise, the account will be locked and no transactions can be
done. Once the user name and password entered correctly, the application displays the main menu to choose between
3 transactions: withdraw (W), deposit (D), and balance checking (C) or exit (E). After the user finishes its
transaction, the application must display the main menu again and user enters (E) to close the program.
The user name of the 3 users must be stored in an array “USERSNAME”
The password of the 3 users must be stored in an array “PASSWORD”
The 3 accounts balance must be stored in an array “BALANCE”
USERNAME PASSWORD BALANCE
User0 Password0 Balance0
User1 Password1 Balance1
User2 Password2 Balance2
Here is how the application looks like: