Thank you :). But where is the return?I need to return the mean. Our 
Prof said we need a return so we can later test the function. Now when I 
test it in the "terminal" I can see nothing.Like this:

return mean

end

puts "#{mean(a)}"




But where sould I add it?Please could you explain :), would be nice!

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