Question: ( In c # program) Read out following ATM money withdrawal algorithm and make flow chart and write code. Step 1. Insert your ATM card

( In c # program)

  1. Read out following ATM money withdrawal algorithm and make flow chart and write code.
  2. Step 1. Insert your ATM card into the machine
  3. Step 2. Machine asks you to input your PIN code
  4. Step 3. You entered your PIN code as input
  5. Step 4. Machine verifies PIN code
  6. 5.1. If PIN code is wrong, machine says Wrong PIN code
  7. 5.1.1. Machine verifies is it 3rd attempt?
  8. 5.1.2. If YES, machine seizes your ATM card Else, machine says, Try again go to Step
  9. 2 Else, proceed
  10. Step 5. Machine asks you to enter amount of withdrawal
  11. Step 6 You entered your desired amount
  12. Step 7. Machine verifies is amount is within range withdrawal amount (20,000)
  13. Step 8. If NO, Machine says, You have exceeded limit. go to step 5 Else, proceed
  14. Step 9. Machine verifies, whether you have enough money in your account?
  15. Step 10. If NO, machine says, You dont have enough money in your account and ejects the card. Else, proceed
  16. Step 11 Machine verifies, whether it hold enough money in cash-dispatcher?
  17. Step 12. If YES, it dispatches money and ejects ATM card Else, machine says, Cash-dispatcher has not sufficient money
  18. Step 3 Machine asks, Press 1 to try with smaller money or Press Cancel to Eject ATM card
  19. Step 14. You entered, either 1 or Cancel
  20. Step 15 Machine verifies input
  21. Step 16. If it is 1 go to step 5 Else, machine ejects the ATM Card.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To address the given problem and create a solution in the form of a flowchart and C code lets break down each step Flowchart The flowchart should foll... View full answer

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 Databases Questions!