Ответ:
var i: integer;
var a: array [1..10] of integer;
begin
a[1]:=2;
write(a[1],' ');
for i:=2 to 10 do
a[i]:=2*a[i-1];
write(a[i],' ');
end;
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
var i: integer;
var a: array [1..10] of integer;
begin
a[1]:=2;
write(a[1],' ');
for i:=2 to 10 do
begin
a[i]:=2*a[i-1];
write(a[i],' ');
end;
end.