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

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

using namespace std;

int main()
{
   string expression;

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

   Infix_to_Postfix e(expression);

   cout << "the postfix notation of \""
        << expression << "\" : "
        << e.convert() << endl;

   return 0;
}

