begin
// 1
var N := ArrRandom(70, 1, 45);
N.Println;
N.Where(p -> p < 10).Aggregate(BigInteger(1), (p, q) -> p * q).Println;
// 2
var M := ArrGen(45, p -> Sqrt(p) / 45, 1);
M.Println
end.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
begin
// 1
var N := ArrRandom(70, 1, 45);
N.Println;
N.Where(p -> p < 10).Aggregate(BigInteger(1), (p, q) -> p * q).Println;
// 2
var M := ArrGen(45, p -> Sqrt(p) / 45, 1);
M.Println
end.