Help with my beginner\'s Ruby code. 1 numbers-0 2 5.times do Ixl 3 numbers[x]= g
ID: 3590926 • Letter: H
Question
Help with my beginner's Ruby code.
Explanation / Answer
Answer:- //you can simply use the predefine function to find the max element in array numbers.max_by do |element| element.field end
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.