Answered step by step
Verified Expert Solution
Question
1 Approved Answer
General Description: Write a C++ program that simulates the function of an ATM machine. For each transaction, the program: - asks the user to enter
General Description: Write a C++ program that simulates the function of an ATM machine. For each transaction, the program: - asks the user to enter their current account number and balance (unrealistic, but we don't know how to read data from files yet). displays a menu of transaction options - asks the user to choose an option, forcing them to enter a correct option depending on the option chosen, asks for more information performs the calculations for the transaction prints the calculated amounts as a "receipt" - - The program repeats the above steps continuously until the user enters shutdown for the account number. This is a signal for the ATM to shut down (end program)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started