//PascalABC.NET
begin
var c := ArrRandom(8);
c.Println;
Sort(c);
var (PA, PB, PC) := (c[0], c[1], c[2]);
var R := PA + PB + PC;
Print(R)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
//PascalABC.NET
begin
var c := ArrRandom(8);
c.Println;
Sort(c);
c.Println;
var (PA, PB, PC) := (c[0], c[1], c[2]);
var R := PA + PB + PC;
Print(R)
end.