Var
a, b, c: array [1..10] of integer;
i: integer;
begin
for i:=1 to 10 do
begin
a[i]:= random(10)+1;
writeln('a[', i, '] = ', a[i], ' ');
b[i]:= random(10)+1;
writeln('b[', i, '] = ', b[i], ' ');
c[i]:=a[i]+b[i];
writeln('c[', i, '] = ', c[i], ' ');
end;
end.