#pragma once

struct Point{
  double x,y;
  Point();
  /*
  first double input param: x coordinate.
  second double input param: y coordinate.
  */
  Point(double,double);
  bool operator<(Point)const;
  bool operator==(Point)const;
};

double dist(Point a,Point b);
#pragma once

class Point{
public:
  double x,y;
  Point();
  /*
  first double input param: x coordinate.
  second double input param: y coordinate.
  */
  Point(double,double);
  bool operator<(Point)const;
  bool operator==(Point)const;
};

Remove deprecated function and use class to define a Point
Remove deprecated function and use class to define a Point
