Write a program that calculates the product of natural numbers from 5 to 10.
September 27, 2021
var x, i: integer;
A: array [1..20] of integer;
writeln (‘Random array:’);
for i: = 1 to 20 do A [i]: = random (11); for i: = 1 to 20 do write (A [i]: 5);
writeln (‘Displaying natural numbers in a given range:’);
for i: = 5 to 10 do write (A [i]: 5);
x: = 1;
writeln (‘Product of natural numbers from the range:’);
for i: = 5 to 10 do x: = A [i] * x;
write (x: 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.