Create a program that displays every 5th number and there are 20 such numbers.

First program:

var i: integer;
A: array [1..20] of integer;
writeln (‘Random array:’);
for i: = 1 to 20 do A [i]: = random (21) -10;
for i: = 1 to 20 do write (A [i]: 5);
writeln (‘Displaying every fifth item on the screen:’);
for i: = 1 to 20 do if i mod 5 = 0 then write (A [i]: 5);

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.