#!/usr/koeki/bin/ruby sum = 0 print "0" 1.step(99, 2) do |odd| printf(" +%3d", odd) sum += odd end printf("¤Ï %d ¤Ç¤¹\n", sum)