uses crt;var s,i:integer;a:array[1..20] of integer;begins:=0;for i:=1 to 20 dobegin
a[i]:=random(100)+100;if a[i] mod 2 =0 thens:=s+a[i];
end;
writeln(s);readln;end.
uses crt;
var s,i:integer;
a:array[1..20] of integer;
begin
s:=0;
for i:=1 to 20 do
begin
a[i]:=random(100)+100;
if a[i] mod 2 =0 then
s:=s+a[i];
end;
writeln(s);
readln;
end.