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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Which of the following is a way the operating system prevents unknown or unauthorized users from accessing the system?
Answers: 2
question
Computers and Technology, 22.06.2019 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 24.06.2019 13:20
In the insert table dialog box, you select the checkbox to create the first row as the header of the table.
Answers: 3
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
question
English, 05.01.2021 22:30
question
Spanish, 05.01.2021 22:30
question
Biology, 05.01.2021 22:30
question
Mathematics, 05.01.2021 22:30
question
Mathematics, 05.01.2021 22:30
Questions on the website: 13722363