Matlab Project

MATLAB Project description : Write an ATM program simulation using MATLAB to do the three common tasks: withdraw, deposit and balance checking using three MATLAB functions. You must define 3 users. The users’ information are stored in a matrix name d as ”DATA_BASE ”. The three functions are: 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 , otherwise, it displays a message stating t hat t he user does not have enough cash . The application will prompt the user to enter the account user name and password. If the user name is not predefined , it prints a message stating that the user doesn ’t have an account with the bank, otherwise, it prompts the user to enter the password. It checks the password. The user has 3 tries to get the password correct. Othe rwise, 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 clicks on (E) to close the program. The user name of the 3 users must be stored in the first column of the matrix “DATA_BASE ” The password of the 3 users must be stored in the second column of the matrix “DATA_BASE ” The 3 accounts balance must be stored in the third column of the matrix “DATA_BASE ” DATA_BASE User_0 Passw ord_0 Balance_0 $ User_1 Password_1 Balance_1 $ User_2 Password_2 Balance_2 $