// L-15 MCS 360 Mon 17 Feb 2020 : test_postfix_evaluator.cpp

#include <iostream>
#include <string>
#include "postfix_evaluator.h"

using namespace std;

int main()
{
   string expression;

   cout << "Give a postfix expression : ";
   getline(cin,expression,'\n');
   cout << "-> your expression : \""
        << expression << "\"" << endl;

   Postfix_Evaluator p(expression);

   cout << "the value of \""
        << expression << "\" : "
        << p.value() << endl;

   return 0;
}
