#include <iostream>
#ifdef __BORLANDC__
#else
  using namespace std;
#endif

class Punkt
  {
   public:
   double x,y;
   Punkt(double x,double y);
   Punkt():x(0),y(0) {}
   void Ustaw(double x,double y);
   void Ustaw() { Ustaw(0,0); }
  };

Punkt::Punkt(double x,double y):x(x),y(y)
  {
  }

void Punkt::Ustaw(double x,double y)
  {
//   Punkt::x=x;
   this->x=x;
   Punkt::y=y;
  }

int main()
  {
   Punkt A(3,4),B;
   A.Ustaw();
   B.Ustaw(12,5);

   return(0);
  }
