Control Structures - Module 3
3. Control Structures
3.3. Repeat... Until
This Loop uses a condition, until this condition is met the loop will continue to repeat itself.
Syntax:
REPEAT
<instructions>
UNTIL <condition>
I've commented the most important instructions to avoid confusion, this program is a very simple program, it will continuously ask the user to choose a number, until that number is bigger than 10. Below you will see the program output.
0 comentários
Posts a comment