program Product;varm, n, number, product: integer;beginwrite('Enter a number: ');readln(m);
product := 1;
write('Enter the length of the sequence: ');readln(n);
for var i := 1 to n dobeginwrite('Enter number ', i, ': ');readln(number);
end;
writeln('The product of numbers greater than ', m, ' is ', product);end.
program Product;
var
m, n, number, product: integer;
begin
write('Enter a number: ');
readln(m);
product := 1;
write('Enter the length of the sequence: ');
readln(n);
for var i := 1 to n do
if number > m thenbegin
write('Enter number ', i, ': ');
readln(number);
product := product * number;
end;
writeln('The product of numbers greater than ', m, ' is ', product);
end.