DO WHILE / ENDDO
Conditional loop.
Syntax
DO WHILE condition ... ENDDO
Description
Loops as long as the condition is true.
Example
Loading editor…
This language is for reference/learning only — copy the code and try it in your own environment.
Expected output
0 1 2
When to use?
Indefinite repetition.