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 $ The program must present
the following menu: Use a dowhile loop in the principal menu require the user to input a dig it p in validated usin g poin ters. Replace every loop with go to sta tements
Deposit
Withdraw
Balance
Exit use functions to replace cout and cin
Option must request an amount of money to deposit. Option will present the following menu: This code is to use classes and vectors in py thon
a $
b $
c $
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 will print
the current balance. The program will repeat infinitely until option is selected. Validate your program so
that it does NOT allow the user to withdrawdeposit 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
