Var i, j:Integer ;p:real;
A:array [1..10,1.. 10]of Integer ;
Begin
P:=1;
For i:=1 to 5 do begin
For j:=1 to 10 do begin
A[i, j]:=random(10)+1;
Write(' ', a[i, j]) ;
End;
Writeln;
Writeln ;
P:=p*a[i, j] ;
End;end;
Writeln(' ', p) ;
End.
Var i, j:Integer ;p:real;
A:array [1..10,1.. 10]of Integer ;
Begin
P:=1;
For i:=1 to 5 do begin
For j:=1 to 10 do begin
A[i, j]:=random(10)+1;
Write(' ', a[i, j]) ;
End;
Writeln;
End;
Writeln ;
For i:=1 to 5 do begin
For j:=1 to 10 do begin
P:=p*a[i, j] ;
End;end;
Writeln ;
Writeln(' ', p) ;
End.