Пример #1
0
        public static void Main(string[] args)
        {
            var calc = new Calculator();

            while (true)
            {
                Console.WriteLine("Введите выражение:");
                string temp = Console.ReadLine();
                Console.WriteLine("Результат:" + calc.CalculateExpression(temp).ToString());
            }
        }