Create a simple class containing an int and overload the operator+ as a member function.Also provide a print() member function that takes an ostream& as an arguement and prints to that ostream&. Test your class to show that it works correctly.
#include <iostream>
using namespace std;
class Simple
{
int x;
public:
Simple operator +(const Simple &a);
void print(ostream& os);
};