[code]

puts "Ok now enter in 5 words, just be sure there are spaces inbetween
them"

i = 0
while i < 5
words_group = gets["","","","",""]
print "#{words_group[i]}"
i =+ 1
end

[/code]

What im trying to do is ask the user to input some words and display
them using arrays (learning program) i know you could do this easy other
ways but im trying to do it with arrays. What needs to be changed?

THanks in advance
-- 
Posted via http://www.ruby-forum.com/.