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 01:00
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
question
Computers and Technology, 22.06.2019 06:00
What role do chromosomes play in inheritance?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
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
Social Studies, 30.01.2020 12:56
question
Mathematics, 30.01.2020 12:56
question
Mathematics, 30.01.2020 12:56
question
Biology, 30.01.2020 12:56
Questions on the website: 13722363