The repeat loop

### 9.3.4 The repeat loop

The repeat loop allows you to repeat statements until a given condition is met. To use it, enter repeat, the statements, the keyword until followed by the condition, a boolean. For example, if you want the user to enter a value for a variable x which is greater than 4, you could have

      repeat
      input("Enter a value for x (greater than 4)",x);
      until (x > 4);

This can also be written

      repeter
      input("Enter a value for x (greater than 4)",x);
      jusqua (x > 4);