Answer:
Step-by-step explanation:
Program ( PascalABC) and Result:
const N = 25;
var Summ : integer;
Num : integer;
Sa : real;
begin
Num := 0;
for var j := 1 to 10 do
begin
Summ := 0;
for var i:= 1 to N do
Summ := Summ + Random (1001);
Sa := Summ / N;
Write (' Sa = ', Sa);
WriteLn;
end;
end.
With p = 1 000 000 the result is naturally close to the middle of the interval (0 - 1000), that is, the number 500