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 03:30
Write a computer program to calculate the three-phase fault current for a fault at f in figure 1.16, with the network normal, and with one line at a time removedproblems 1.1 write a computer program to calculate the three-phase fault current for a fault at f in figure 1.16, with the network normal, and with one line at a time removed 20 power system relaying from service. the positive-sequence impedance data are given in the accompanying table. use the commonly made assumption that all prefault resistance values are (1.0+j0.0) pu, and neglect all resistance values. calculate the contribution to the fault flowing through the cb b and the voltage at that bus. for each calculated case, consider the two possibilities: cb b2 closed or open. the latter is known as the stub-end fault í• figure 1.16 problem 1.1 system data for figure 1.16 from to positive sequence 0.0+j0.1 0.05j0.15 0.04 j0.2 0.01 jo.i 0.015 + j0.15 0.01 j0.19 0.01 +j0.19 0.03+j0.1 0.0+j0.08 6 6 6 from service. the positive-sequence impedance data are given in the accompanying table. use the commonly made assumption that all prefault resistance values are (1.0 + j 0.0) pu, and neglect all resistance values. calculate the contribution to the fault flowing through the cb b1, and the voltage at that bus. for each calculated case, consider the two possibilities: cb b2 closed or open. the latter is known as the “stub-end” fault.
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
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
Mathematics, 17.07.2019 07:00
Questions on the website: 13722363