// point.h
 
// prevents multiple inclusion
#ifndef POINT_H 
#define POINT_H

#include <iostream>
using std::cout;

class Point_C
{
 
private:
   double x;
   double y;

public:
   Point_C (double theX, double theY)
    { x = theX; y=theY; }

   Point_C() : x(0.0), y(0.0) {}

   void print() const { cout << "(" << x << "," << y << ")";}
   double getX() const {return x;}
   double getY() const {return y;}
   void setX(double theX) { x = theX; } 
   void setY(double theY) { y = theY; } 

};



#endif



