#include<iostream>
using namespace std;
class base
{
public:
int m;
void get_m()
{
cout<<"\n\n\t\tEnter the value of m :";
cin>>m;
}
void disp()
{
cout<<"\n\n\t\tm :"<<m;
}
};
class derived:public base
{
public:
int n,sum;
void get()
{
cout<<"\n\n\t\tEnter the value of n:";
cin>>n;
}