Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Please, enter your expression");
            string     line  = Console.ReadLine();
            StackArray stack = new StackArray();

            //Stack stack = new Stack();
            Console.WriteLine("Result of calculating: {0}", Calculator(stack, line));
        }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     Console.WriteLine("Please, enter your expression");
     string line = Console.ReadLine();
     StackArray stack = new StackArray();
     //Stack stack = new Stack();
     Console.WriteLine("Result of calculating: {0}", Calculator(stack, line));
 }
Exemplo n.º 3
0
 public void Initial()
 {
     stackR = new StackArray();
     stackRef = new Stack();
 }