Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A typical ATM machine will allow a bank customer to perform the following tasks ( assume the initial balance is set to $ 1 0
A typical ATM machine will allow a bank customer to perform the following tasks assume the initial
balance is set to $: withdraw, deposit and balance inquiry. The ATM System should have the
following:
Display Welcome Greetings Welcome to ABC Bank ATM"
Display Menu to indicate transaction typesbalance inquiry, withdraw, deposit.
for exit"
for withdraw"
for deposit"
for balance inquiry"
Execute balance inquiry by displaying the current balance.
Execute withdraw by asking the user for amount to withdraw and display balance after
withdrawal. Display INSUFFICIENT FUNDS if the user entered an amount larger than the
balance.
Execute deposit by asking the user the amount to deposit and display balance after the deposit.
A function to simulate ATM system.
The initial customer balance is set at $
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