# prac0201.rb
# 2次元座標クラス その1

class Point
  def initialize( x, y )
	@x = x
	@y = y
  end

  def show
	print "(",@x,",",@y,")\n"
  end
end

p1 = Point.new(1,2)
p2 = Point.new(-5,3.3)
p1.show
p2.show