Can someone help me in finding the combination of elements which are in
different arrays

for ex:
array1=["A","B","C","D"]
array2=["1","2","3","4"]
array3=["red","blue","green","yellow"]

the output should be
A 1 red
A 1 blue
A 1 green
A 1 yellow
A 2 red...etc

 it should display all the combinations possible

Regards,
Manju

-- 
Posted via http://www.ruby-forum.com/.