#include using namespace std; class stock{ int a; public: stock(int n=0); void show(); stock operator+(const stock &d); friend stock operator+(int n,const stock &d); }; stock operator+(int n,const stock &d){ stock result; result.a=n+d.a; return result; } stock::stock(int n){ a=n; } void stock::show(){ cout<<"a is "<