if then.bb 268 B

12345678910
  1. .start
  2. number = Input ("How old are you ")
  3. If number < 18 Then Print "You are under 18": Goto Leave
  4. If number > 18 Then Print "You are over 18":Goto Leave
  5. If number = 18 Then Print "you are 18":Goto Leave
  6. .Leave
  7. Print "Press ESC to Exit"
  8. Repeat
  9. VWait
  10. Until KeyHit(1)