##
var n := 5;
var a := MatrRandom(n, n, -10, 15);
a.Println(4);
var s := a.ElementsByRow;
Println('Сумма max+min =', s.Max + s.Min);
for var i := 0 to n - 1 do
a[i, i].Print
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
##
var n := 5;
var a := MatrRandom(n, n, -10, 15);
a.Println(4);
var s := a.ElementsByRow;
Println('Сумма max+min =', s.Max + s.Min);
for var i := 0 to n - 1 do
a[i, i].Print