Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{{Control Structures}}
|
||||
[[Category:Flow control]]
|
||||
|
||||
;Task:
|
||||
Document common flow-control structures.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
Outer:
|
||||
loop
|
||||
-- do something
|
||||
loop
|
||||
-- do something
|
||||
loop
|
||||
-- do something else
|
||||
exit Outer; -- exits both the inner and outer loops
|
||||
end loop;
|
||||
-- do something else
|
||||
exit Outer; -- exits both the inner and outer loops
|
||||
end loop;
|
||||
end loop Outer;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
sum = 80036
|
||||
for i = 0 to 50
|
||||
for j = 0 to 50
|
||||
if i * i + j * j * j = sum
|
||||
print i & "² + " & j & "³ = " & sum
|
||||
break 2
|
||||
.
|
||||
.
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue