Answers

Question and Answer:

  Home  Ruby Developer

⟩ Tell me an array [1,2,34,5,6,7,8,9], product it using a method?

def productarray()

return array.inject(:*)

end

 159 views

More Questions for you: