Beispiel #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));
        }
Beispiel #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));
 }
Beispiel #3
0
 public void Initial()
 {
     stackR = new StackArray();
     stackRef = new Stack();
 }