Anonymous user
Loops/Break: Difference between revisions
Add Nu
imported>Brie (Add Nu) |
|||
Line 2,654:
40 PRINT RND(20)
50 GOTO 10</syntaxhighlight>
=={{header|Nu}}==
<syntaxhighlight lang="nu">
while true {
let a = random int 0..19
print $a
if $a == 10 {break}
print (random int 0..19)
}
</syntaxhighlight>
=={{header|Oberon-2}}==
|