#include <iostream>
using namespace std;
class base
{
public:
int x;
void readdata()
{
cout<<"\n enter the number:";
cin>>x;
}
};
class derived:public base
{
public:
int y;
void getdata()
{
cout<<"\n enter the number:";
cin>>y;
}
void product()
{
cout<<"\n product="<<x*y;
}
};
int main()
{
derived obj;
[Link]();
[Link]();
[Link]();
return 0;
return 0;
}