Question: An automatic banking machine accept working banking cards for transactions. The customer starts by pushing the card in: If the card is being suspended, the

An automatic banking machine accept working banking cards for transactions. The customer starts by pushing the card in: If the card is being suspended, the card is thrown out directly. Otherwise the customer can type in the password, if it is wrong s/he can try up to 3 times, otherwise the card is thrown out and the card is suspended until the customer contacts the bank and gets re-activated. If the password is right, the customer can take out cash, deposit money, or check balances as many times possible. If s/he wants to take out more money than the account has, the request is rejected and the customer is warned once, three warnings will eject the card and the card is suspended until the bank re-activated it. After finishing normal transactions without troubles, the customer can choose to quit and the machine prints out receipt and ejects out the card.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!