#include<iostream>
using namespace std;
class point
{
int x,y;
public:
inline void set(int n1,int n2)
{
x=n1,y=n2;
}
void display()const
{
cout<<"x :"<<x<<endl;
cout<<"y :"<<y<<endl;
}
};
int main()
{
point ob;
ob.set(4,5);
ob.display();
return 0;
}
using namespace std;
class point
{
int x,y;
public:
inline void set(int n1,int n2)
{
x=n1,y=n2;
}
void display()const
{
cout<<"x :"<<x<<endl;
cout<<"y :"<<y<<endl;
}
};
int main()
{
point ob;
ob.set(4,5);
ob.display();
return 0;
}