Question: Write a program that simulates an ATM ( with an initial balance of $ 5 0 0 ) . The program must present the following

Write a program that simulates an ATM (with an initial balance of $500). The program must present
the following menu: (Use a do-while loop in the principal menu) require the user to input a 4 dig it p in validated usin g poin ters. Replace every loop with go to sta tements
1. Deposit
2. Withdraw
3. Balance
4. Exit .use functions to replace cout and cin
Option 1 must request an amount of money to deposit. Option 2 will present the following menu: This code is to use classes and vectors in py thon
a. $100
b. $200
c. $500
d. Other quantity
e. Exit This code will create an exe file in java
You MUST validate that the quantity to be withdrawn is less than the current balance. Option 3 will print
the current balance. The program will repeat infinitely until option 4 is selected. Validate your program so
that it does NOT allow the user to withdraw/deposit negative money. Also, you WILL use switch cases
for each menu and your menus MUST handle invalid inputs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!