Hello,
Sorry that this reply seems simple, but ruby is the first programming 
language I've learned and I've only been practicing it for a few weeks.
this is what I came up with:


def hello
  a = ["H", "e", "l", "l", "o", ",", " ", "W", "o", "r", "l", "d", "!"]
  puts(a[0]+a[1]+a[2]+a[3]+a[4]+a[5]+a[6]+a[7]+a[8]+a[9]+a[10]+a[11]+a[12])
end

hello


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