Answered step by step
Verified Expert Solution
Link Copied!

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 $1000): withdraw, deposit and balance inquiry. The ATM System should have the
following:
1. Display Welcome Greetings ("Welcome to ABC Bank ATM")
2. Display Menu to indicate transaction types-balance inquiry, withdraw, deposit.
"0 for exit"
"1 for withdraw"
"2 for deposit"
"3 for balance inquiry"
3. Execute balance inquiry by displaying the current balance.
4. 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.
5. Execute deposit by asking the user the amount to deposit and display balance after the deposit.
6. A function to simulate ATM system.
The initial customer balance is set at $1000.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

Students also viewed these Databases questions

Question

12. What are their values? (ethical stance in society)

Answered: 1 week ago

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

2. Place a value on the outcomes.

Answered: 1 week ago