===== PascalABC.NET =====
begin
var a := MatrRandom(10, 10, -50, 50);
a.Println;
a.Transform(a -> a mod 3 = 0 ? a * a : a);
a.Println(5)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
===== PascalABC.NET =====
begin
var a := MatrRandom(10, 10, -50, 50);
a.Println;
a.Transform(a -> a mod 3 = 0 ? a * a : a);
a.Println(5)
end.