mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 10:10:12 +02: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.
|