# You are given an array of integers from 0 to 20, filled with random numbers in the range [0,100].

You are given an array of integers from 0 to 20, filled with random numbers in the range [0,100]. Determine the number of elements of the array that are multiples of 3.

program zz1;
const n = 20; // set the number of elements in the array
var i, k: integer; // set variables of integer type
m: array [0..n] of integer;
begin
for i: = 0 to n do // get n random numbers and write them into an array
m [i]: = random (101);
for i: = 0 to n do // display the resulting array on the screen
write (m [i], ”);
writeln; // go to a new line to display the response
for i: = 0 to n do
if m [i] mod 3 = 0 then k: = k + 1; // check if the array element is divisible by three without a remainder, then we count it
write (‘the number of such members =’, k); // display the answer
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.