var a:array [1..6] of Integer;
i,s:Integer;
begin
write ('Массив ');
for i:=1 to 6 do
a[i]:=random(16);
write (a[i]:3)
end
end.
program fpro;
var
a : array[0..15] of integer;
i : integer;
randomize;
for i :=0 to 15 do
a[i] := random(1,20);
if (a[i] > 5) and (a[i] < 15) then writeln(a[i]);
end;
var a:array [1..6] of Integer;
i,s:Integer;
begin
write ('Массив ');
for i:=1 to 6 do
begin
a[i]:=random(16);
write (a[i]:3)
end
end.
program fpro;
var
a : array[0..15] of integer;
i : integer;
begin
randomize;
for i :=0 to 15 do
begin
a[i] := random(1,20);
if (a[i] > 5) and (a[i] < 15) then writeln(a[i]);
end;
end.