#include<iostream>
#include<string>
usingnamespace std;
class mark{
public:
int point;
mark();
mark(int m){
point=m;
}
mark operator+(mark obj){
mark b;
b.point=point+obj.point;
return (b);
}
};
int main(){
mark obj1(2);
mark obj2(6);
mark obj3=obj1+obj2;
cout<<"the result wiull be "<<obj3.point;
system("pause");
return 0;
}