b = 0 x = 0 i = 0 while b < 25 do x = 0.5 * 9.8 * (b*b) i = b b = b + 1 print b, " : " while x > 0 do print "*" x = x - 1 end print "\n" end 視覚化してみた