Const
N = 10;
Var
A:array[1..n,1..n] of real;
i,j:integer;
S:real;
Begin
Randomize;
S:=0;
For i:= 1 to N do
Begin
For j:= 1 to N do
Begin
A[i,j]:=random*21-10;
Write(A[i,j]:6:2,' ');
if j > i then S:=S+A[i,j]
End;
WriteLn
End;
WriteLn('S = ',S);
End.