program CalculateProduct;
vari, product: integer;
beginproduct := 1;
for i := 12 to 18 dobeginproduct := product * i;end;
writeln('The product of natural numbers from 12 to 18 is: ', product);
end.
program CalculateProduct;
var
i, product: integer;
begin
product := 1;
for i := 12 to 18 do
begin
product := product * i;
end;
writeln('The product of natural numbers from 12 to 18 is: ', product);
end.