# list0302.rb
# 各要素の表示にイテレータを使う

a = [ 2, 3, 4, 5, 2.0, 3.0, 4.0, 5.0 ]
a.each{ |num|
  puts num
}