Remember to count each gift for each day (on the second day you get
another bird in a tree, on the third day you get two more doves and
another bird in a tree, etc.)

day = 0
gifts_for_the_day = 0
total_gifts = 0

12.times do
  day += 1
  gifts_for_the_day += day
  total_gifts += gifts_for_the_day
  puts "Day: #{day}, Gifts for Day: #{gifts_for_the_day}, Total gifts:
#{total_gifts}"
end

-- Stephen

On 6/18/07, danielj <danielj / sleepingindian.org> wrote:
> I just wanted to do the challenge correctly...
>
> Although, maybe I shouldn't be doing a tutorial with that kind of lame
> challenge...
>
>
>