Loops/Break: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (fix markup) |
m (→{{header|AWK}}) |
||
Line 689: | Line 689: | ||
=={{header|AWK}}== |
=={{header|AWK}}== |
||
<syntaxhighlight lang="awk">BEGIN { |
<syntaxhighlight lang="awk">BEGIN { |
||
srand() # randomize the RNG |
|||
for (;;) { |
for (;;) { |
||
print n = int(rand() * 20) |
print n = int(rand() * 20) |