subject

Raptor! 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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:00
Which of the following does 3d animation create an illusion of on the screen? a. depth b. emotion c. length d. dialogue
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
Emma is using an artificial intelligence system, which contains information on botany, to identify a type of plant from an image. what type of ai is emma using?
Answers: 1
You know the right answer?
Raptor! you are writing a program that will act like an atm machine by the end of this course. in o...
Questions
question
Mathematics, 11.06.2020 21:57
question
Computers and Technology, 11.06.2020 21:57
question
Mathematics, 11.06.2020 21:57
question
English, 11.06.2020 21:57
Questions on the website: 13722367