begin
var n := ReadInteger('n =');
var a := ArrRandom(n, -99, 99);
a.Println;
var (k, m) := ReadInteger2('Границы диапазона К и М:');
a.Where(p -> p in Range(k, m)).Count.Println
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
begin
var n := ReadInteger('n =');
var a := ArrRandom(n, -99, 99);
a.Println;
var (k, m) := ReadInteger2('Границы диапазона К и М:');
a.Where(p -> p in Range(k, m)).Count.Println
end.