};
inline void sample::getdata()
{cout<<endl<<"Enter any three numbers: "<<endl;
cin>>a>>b>>c;
}
inline void sample :: display(sample abc)
{cout<<endl<<"the entered numbers are :"<<endl;
cout<<abc.a<<'\t'<<abc.b<<'\t'<<abc.c;
}
int main()
{
class sample obj;
clrscr();
obj.getdata();
obj.display(obj);
getch();
return 0;
}