Program sector;
const
n=10;
type
myarray = array [1..n,1..n] of integer;
var
a: myarray;
i,j,x,y,z: byte;
proizv: real;
begin
randomize;
for i:=1 to n do begin
for j:=1 to n do begin
a[i,j]:=random (40);
a[i,j]:=a[i,j]-20;
write(a[i,j]:4);
end;
writeln;
end;
proizv:=0;
for i:=1 to n do
for j:=1 to i do
proizv:=proizv*a[i,j];
writeln('PROIZVEDENIE=',proizv);
readln;
end.