program ProductOfNumbers;
varnum1, product: integer;
beginproduct := 1;
repeatwrite('Enter a number (-10 to 10): ');readln(num1);
until not ((num1 >= -10) and (num1 <= 10));
writeln('The product of the numbers entered is: ', product);end.
program ProductOfNumbers;
var
num1, product: integer;
begin
product := 1;
repeat
if (num1 >= -10) and (num1 <= 10) thenwrite('Enter a number (-10 to 10): ');
readln(num1);
begin
product := product * num1;
end;
until not ((num1 >= -10) and (num1 <= 10));
writeln('The product of the numbers entered is: ', product);
end.