I am new to Ruby and I can’t solve this Problen.
I’ve got an Array w with 100 Elements called “w”.
I want to divide the array with 1…100 divisors.
i = 0
j = 1.0
w.each do |i|
while j <= 100.0 do
print i/j, ", " j +=1.0
but it’s not working.
Only the first Element of the Array is divided with
the hundred divisors.
I’d be very grateful for help.