Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Babbage-problem/Seed7/babbage-problem.seed7
Normal file
11
Task/Babbage-problem/Seed7/babbage-problem.seed7
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$ include "seed7_05.s7i";
|
||||
|
||||
const proc: main is func
|
||||
local
|
||||
var integer: current is 0;
|
||||
begin
|
||||
while current ** 2 rem 1000000 <> 269696 do
|
||||
incr(current);
|
||||
end while;
|
||||
writeln("The square of " <& current <& " is " <& current ** 2);
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue