напишите комментарии к каждой строке кода. 1) program z3; const n = 25; var arr1, arr2: array[1..n] of integer; i, d: integer; begin d := n; for i := 1 to d do begin arr1[i] := random(20) - 10; write(arr1[i], ' '); end; for i := d downto 1 do if (arr1[i] >0) then break; dec(d); for i := i to d do arr1[i] := arr1[i + 1]; writeln; for i := 1 to d do begin arr2[i] := arr1[i]; write(arr2[i], ' '); end; end. 2) program z4; begin var y := ArrRandom(40, -99, 99); y.Println; var nmax := y.IndexMax + 1; y.Transform((v, i) -> i <35 ? v : v * nmax); y.Print end.