Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Loops-Break/ALGOL-68/loops-break.alg
Normal file
13
Task/Loops-Break/ALGOL-68/loops-break.alg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
main: (
|
||||
INT a, b;
|
||||
INT seed := 4; # chosen by a fair dice roll, guaranteed to be random c.f. http://xkcd.com/221/ #
|
||||
# first random; #
|
||||
WHILE
|
||||
a := ENTIER (next random(seed) * 20);
|
||||
print((a));
|
||||
# WHILE # NOT (a = 10) DO
|
||||
b := ENTIER (next random(seed) * 20);
|
||||
print((b, new line))
|
||||
OD;
|
||||
print(new line)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue