#include "interface.h"
class Context
{
public:
Context(Strategy *strategy) : strategy(strategy){}
int executeStrategy(int num1, int num2)
return strategy->doOperation(num1, num2);
}
private:
Strategy *strategy;
};