mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-16 11:16:44 +01:00
20 lines
286 B
ObjectPascal
20 lines
286 B
ObjectPascal
{ %INTERACTIVE }
|
|
program test_random;
|
|
|
|
var
|
|
i: integer;
|
|
begin
|
|
randomize;
|
|
WriteLn('Random Values II:');
|
|
for i:=0 to 100 do
|
|
begin
|
|
WriteLn(Random(100));
|
|
end;
|
|
randomize;
|
|
WriteLn('Random Values I:');
|
|
for i:=0 to 100 do
|
|
begin
|
|
WriteLn(Random(100));
|
|
end;
|
|
end.
|