Use the Account class to simulate an ATM machine. Create accounts…
Question Use the Account class to simulate an ATM machine. Create accounts… Use the Account class to simulate an ATM machine. Create accounts in an array with id and number, and initial balance $100. The system prompts the user to enter an id. Once an id and number is accepted, the main menu is displayed as shown in the sample run. You can enter a choice 1 for viewing the current balance, 2 for withdrawing money, 3 for depositing money, and 4 for exiting the main menu. Once you exit, the system will prompt for an id again. Thus, once the system starts, it will not stop.Image transcription textMain menu Enter an id: 4 -Enter 1: check balance 2: withdraw Main menu 3: deposit 1: check balance 4: exit 2:withdraw Enter a choice: 3 ~Enter 3: deposit Enter an amount to deposit: 10 Enter 4: exit Enter a choice: 1-Enter The balance is 100.0 Main menu 1: check balance Main menu 2: withdraw 1: check balance … Show more… Show more Computer Science Engineering & Technology Python Programming KHJKH 1 Share QuestionEmailCopy link Comments (0)


