begin
var a := ArrRandom(20, -50, 50);
a.Println;
a[:6].Min.Println;
a[6:10].Max.Println
end.
35 45 37 -46 38 22 15 32 -6 31 49 46 -14 3 -11 48 47 50 -36 33
-46
32
begin
var a := ArrRandom(20, -50, 50);
a.Println;
a[:6].Min.Println;
a[6:10].Max.Println
end.
Пример35 45 37 -46 38 22 15 32 -6 31 49 46 -14 3 -11 48 47 50 -36 33
-46
32