Write a program that fills the array A [1..5,1..5] according to the rule a [i; j]: = i + j

program zz1;
const n = 5;
b = 5; // set the number of elements in the array
var i, j: integer; // set variables of integer type
m: array [1..n, 1..b] of integer; // describe an array of integer type
for i: = 1 to n do
for j: = 1 to b do // get numbers according to the given rule and write them into an array
m [i, j]: = i + j;
for i: = 1 to n do // display the resulting array on the screen
for j: = 1 to b do
write (m [i, j]: 4);
writeln; // go to a new line


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.