1) Дополненная
program Hello;
var
a : array[1. . 90] of integer;
i, x : integer;
begin
randomize();
for i:= 1 to 90 do
begin
a[i] := i;
end;
for i:= 1 to 5 do
begin
x := random(90) + 1;
if a[x] <> 0 then
begin
writeln(a[x]);
a[x] := 0;
end;
end;
end.