Question: programing language c++ ,please ensure program runs before uploading thanks code must be written in c++ Cash Machine Using OOP principles, write a program to
programing language c++ ,please ensure program runs before uploading thanks
code must be written in c++
Cash Machine Using OOP principles, write a program to simulate an ATM owned and operated by " International Bank" which will do the following: 1. Welcome and prompt the user to enter an account number and PIN (Use A/C #: 258647, PIN: 3284). If either is wrong, an appropriate error message should be displayed and the user should be prompted to re-enter the account number and PIN otherwise, display the main menu. 2. The main menu should display a numbered option for each of the three (3) types of transactions: balance inquiry (1), withdrawal (2), and deposit (3). The main menu should also display an option to allow the user to exit the system (4). The user then chooses to either perform a transaction or exit the system. 3. If the user enters 1 to make a balance inquiry, the screen displays the user's account balance. (N.B. the initial balance is $250,000.00) 4. If the user enters 2 to make a withdrawal, the user will be prompted to enter a non-negative amount or type 0 (zero) to return to the main menu. a. If the withdrawal amount is greater than the account balance, the screen will display an error message stating this and prompts them to enter a smaller amount b. If the withdrawal amount can be satisfied, carry out the transaction, display the new balance and return to the main menu. C. If a negative value is entered, display an appropriate error message and prompt the user to enter a valid amount. 5. If the user enters 3 to make a deposit, the user will be prompted to enter an amount or type 0 (zero) to return to the main menu