# Arrays A and B of N numbers are given (N = 10) Arrays A and B of N numbers (N = 10) are given randomly.

Arrays A and B of N numbers are given (N = 10) Arrays A and B of N numbers (N = 10) are given randomly. Form a new array, each element of which is equal to. The sum of the elements of these arrays.

program zz1;
const n = 10; // set the number of elements in the array
var i, k, s: integer; // set variables of integer type
A, B, C: array [1..n] of integer;
begin
for i: = 1 to n do // get n random numbers and write them into the first array
A [i]: = random (51) -25;
for i: = 1 to n do // display the resulting array on the screen
write (A [i]: 4);
writeln; // go to a new line
for i: = 1 to n do // get n random numbers and write them into the second array
B [i]: = random (51) -25;
for i: = 1 to n do // display the resulting array on the screen
write (B [i]: 4);
writeln; // go to a new line
for i: = 1 to n do // organize a loop in which we iterate over all the elements of the array
C [i]: = A [i] + B [i];
for i: = 1 to n do // display the resulting array on the screen
write (C [i]: 4);
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.