Create an array a of ten integers belonging to the interval [-50; 50). Print the resulting array to the screen.

// An example program in Pascal.

var
i: integer; // declare variables of integer type.
arr: array [1..10] of integer; // declare an array.
Begin
for i: = 1 to 10 do // start of the cycle.
begin
arr [i]: = random (-50.50); // fill the array element with a number from -50 to 50.
write (”, arr [i], ”); // display the current element of the array on the screen.
end;
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.