yani's Profile

1 Question

3 Answers

  • I want to make the elements of last row with value 2. My way to define two-dimensional arrays w...
  • this works array=Array.new(21) 21.times do |i| array=Array.new(15,0) 15.times d...
  • this is the problem, only in shoes it works like create exactly 2 arrays. But in Ruby it create t...