Пример #1
0
        public void Run()
        {
            int appendersCount = int.Parse(Console.ReadLine());

            for (int i = 0; i < appendersCount; i++)
            {
                string input = Console.ReadLine();
                commandInterpreter.CreateAppender(input);
            }

            string reportInfo = Console.ReadLine();

            while (reportInfo != "END")
            {
                commandInterpreter.CreateLog(reportInfo);
                reportInfo = Console.ReadLine();
            }

            this.commandInterpreter.PrintInfo();
        }