Gary Wright
4/7/2007 1:26:00 AM
On Apr 6, 2007, at 7:15 PM, dwyer@o2.ie wrote:
> thanks for the code Gary, I'm goin work through it.its quite
> different from how I implemented the
> solution in java,(it really is a paradigm shift), thanks again for
> the reply
This alternative version is a bit simpler.
It might be better to understand this one and
then go back to my first one:
[0,1,2].each { |i|
[2,4,6,8].each { |j|
puts "#{i}, #{j}"
}
}
Gary Wright