Write a program to calculate the product of 30 random natural numbers.

program zz1;
var i, a, S: integer; // set variables of integer type
s: = 1; // set the initial value for the product
for i: = 1 to 30 do // organize a loop for 30 repetitions
a: = random (5) + 1; // get a natural number at random
s: = s * a; // calculate the product by multiplying the next natural number
writeln (‘Received work =’, s); // display the answer

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.