+ 2

Ruby What is the output of this code?

Arr =[1, 2, 4, 2 ] Puts arr.minmax { |x| x %2==0} # have few answers 4 or 14 or 24 or error #it seems to me that this problem has an error

27th Jun 2020, 6:08 AM
Андрей Рыбаков
Андрей Рыбаков - avatar
2 ответов