1)var a: array [1..7] of integer;
i:integer;
begin
for i:=1 to 7 do
a[i]:=i;
writeln(a[i]);
end;
end.
2)var a: array [1..5] of integer;
for i:=1 to 5 do
a[i]:=random(100);
1)var a: array [1..7] of integer;
i:integer;
begin
for i:=1 to 7 do
begin
a[i]:=i;
writeln(a[i]);
end;
end.
2)var a: array [1..5] of integer;
i:integer;
begin
for i:=1 to 5 do
begin
a[i]:=random(100);
writeln(a[i]);
end;
end.