uses crt; var a:array[1..100]of integer; i,n,s:integer; begin s:=0; writeln('skoka chisel?'); readln(n); if n>100 then n:=100; randomize; for i:=1 to n do begin a[i]:=random(100); write(a[i]:3); if (a[i] mod 2=0) and (i mod 2=0) then s:=s+a[i]; end; writeln; writeln(s); readln; end.