Name: ID#: Write a C++ program for ATM machine. The program displays the following menu to the costumer to select one op
Posted: Sun Jul 03, 2022 12:01 pm
Name: ID#: Write a C++ program for ATM machine. The program displays the following menu to the costumer to select one operation: Please, choose one operation: 1-Deposit 2-Withdraw 3-Display balance If the user chooses 1, the program asks him/her to enter the amount of money to be deposited, update the balance, and display the updated balance. If the entered amount for money is negative, the program should give an appropriate error message and terminate. If the user chooses 2, the program asks him/her to enter the amount of money to be withdrawn, update the balance, and display the balance. If the entered amount for money withdrawal is negative or more than the balance, the program gives appropriate error message and terminate. If the user chooses 3, the program will display balance and end. Assume the initial balance is 1000 before conducting any operation.