1) program z1;
var k,i:integer;
begin
i:=4;
k:=0;
while i<=20 do<br>begin
if i mod 2=0 then
begin
writeln(i);
k:=k+i;
end;
i:=i+1;
end;
writeln('сумма ',K)
end.
2) program z2;
var i,k:integer;
begin
k:=1;
i:=3;
repeat
if i mod 2 <> 0 then
begin
writeln(k,')',i);
k:=k+1;
end;
i:=i+1;
until k>20;
end.