// L-15 MCS 360 Mon 27 Sep 2010 : test_postfix_evaluator.cpp

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

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;
}

