Triangle tools from the text book Programming Processors in Java.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
let
|
|
var a : Integer;
|
|
var b : Integer;
|
|
var c : Integer
|
|
in
|
|
begin
|
|
put('1');
|
|
puteol();
|
|
a := 0;
|
|
while a < 5000 do
|
|
begin
|
|
b := 0;
|
|
while b < 3000 do
|
|
begin
|
|
c := c + a;
|
|
c := c / (1 + b);
|
|
b := b + 1;
|
|
end;
|
|
a := a + 1;
|
|
end;
|
|
putint(c);
|
|
end
|
|
|