Question
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
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
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