Scratch ATM No Pin

Click here for a video demo of the completed program

Click here for a video full of hints for your program

After you read the full description you will find helpful sample code to get your started. This code is at the bottom of this assignment page.

Your assignment is to design and program an ATM machine that does the following

  1. asks to choose what you want to do:
    withdraw money (get cash)
    deposit money (put money into your bank account)
    check your balance (see how much money you have in the bank)
  2. you can withdraw (take money OUT) money:
    -asks how much you want to withdraw
    -deletes the amount from the available balance (how much money you have left)
    -displays the new balance (how much you have left)
    -IF the amount you want to withdraw is more than your balance, it tells you and you can’t withdraw.  Example: If I have $100 in the bank and want to withdraw $200, it won’t let me.
    -returns them to the main menu
  3. you can deposit (add) money:
    -asks for how much you are depositing
    -adds that amount to your existing balance
    -displays your new balance
    -returns them to the main menu
  4. you can view your balance (see how much money you have)
    -after you review the balance, you  return to the main menu

HINTS:

  1. set the value of balance to $500 to start
  2. use a broadcast message to return to the menu
  3. create code that:
    -withdrawing money
    -depositing money
    -checking your balance
  4. variables needed:

amount (how much you are depositing or withdrawing)
choice (did you press 1, 2 or 3?)
balance (how much money you have, set this to an amount when green flag clicked)

Sample code: