===== PascalABC.NET =====
- 1 -
begin
var n := ReadInteger;
ReadSeqReal('Вводите:', n).Average.Println
end.
- 2 -
ReadSeqInteger('Вводите:', n)
.Where(p -> p > 0)
.Min
.Println
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
===== PascalABC.NET =====
- 1 -
begin
var n := ReadInteger;
ReadSeqReal('Вводите:', n).Average.Println
end.
- 2 -
begin
var n := ReadInteger;
ReadSeqInteger('Вводите:', n)
.Where(p -> p > 0)
.Min
.Println
end.