subject

You are writing a program that will act like an atm machine by the end of this course. in order to access the atm, the customer must enter their user name and their passcode. after 3 incorrect attempts at entering the user name and password, the program will end. the list of legitimate users along with their user id, passcode and account balance will be provided to you.

there are only 5 functions that can be carried out by the atm:

1 – deposit (adding money to the account)

2 – withdrawal (removing money from the account)

3 – balance inquiry (check current balance)

4 – transfer balance (transfer balance from one account to another)

5 - log out (exits/ends the program)

allow the user to make up to a maximum of 3 transactions at a time. after 3 transactions, the program will terminate. after a transaction is completed, the program will update the running balance and give the customer a detailed description of the transaction. a customer cannot overdraft on their account; if they try to withdraw more money than there is, a warning will be given to the customer. also note that the atm doesn’t distribute or collect coins – all monetary values are in whole dollars (e. g. an integer is an acceptable variable type). any incorrect transaction types will display an appropriate message and count as a transaction.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:40, dkjfghdjk
In a response of approximately 50 words, explain why it would be essential for the successful a/v technician to participate in additional coursework, presentations and seminars offered by equipment manufacturers as well as annual conferences attended by colleagues in the industry.
Answers: 1
image
Computers and Technology, 22.06.2019 15:00, misslux
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
image
Computers and Technology, 22.06.2019 17:30, glocurlsprinces
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, ginaaa20
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
You know the right answer?
You are writing a program that will act like an atm machine by the end of this course. in order to a...

Questions in other subjects:

Konu
Mathematics, 17.07.2021 01:20
Konu
Mathematics, 17.07.2021 01:20