Ruby What is the output of this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
0 Answers