#include <iostream>
using namespace std;

class test
{
private:
int a,b;
public:
test()
{
a=0;
b=0;
}
test(int x, int y)
{
a=x;
b=y;
}
test operator + (test t)
{
test temp;
temp.a=a+t.a;
temp.b=b+t.b;
}
void display()
{
cout<<“The value of a is:”<<a<<endl;
cout<<“The value of b is:”<<b<<endl;
}

};
int main()
{
test t1,t2,t3;
t1=test(5,10);
t2=test(30,60);
t3=t1+t2;
t1.display();
t2.display();
t3.display();
return 0;
}