In array C [6,10], the values of the elements are in the interval [10,30], find the sum of the elements in 1 row.

var
C: array [1..6,1..10] of integer;
sum: integer;

begin
for i: integer: = 1 to 6 do
begin
for j: integer: = 1 to 10 do
begin
C [i, j]: = random (20) +10;
write (C [i, j]: 5);
if (i = 1) then
sum: = sum + C [i, j];
end;
writeln ();
end;
writeln (‘Amount:’, sum);
end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.