A simple code that is self explanaetary. However when I run it, it spits
out errors at me :( What do I do to make it work?


  def heLLO
    puts 'whats your name'
    name = gets.chomp
    puts "hello ". + name
  end


V2 = Array.new [1 + rand(22)]



V1 = Array.new [1 + rand(22)]

def questioN
  puts 'whats the sum of' V2.to_s + 'and' + V1.to_s
end


heLLO
questioN

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