Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Loops-Break/Seed7/loops-break.seed7
Normal file
14
Task/Loops-Break/Seed7/loops-break.seed7
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$ include "seed7_05.s7i";
|
||||
|
||||
const proc: main is func
|
||||
local
|
||||
var integer: number is 0;
|
||||
begin
|
||||
repeat
|
||||
number := rand(0, 19);
|
||||
writeln(number);
|
||||
if number <> 10 then
|
||||
writeln(rand(0, 19));
|
||||
end if;
|
||||
until number = 10;
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue