Exemplo n.º 1
0
        /// <summary>
        /// This method will run the program, outputting a heading
        /// and closing the program if the user does not wish to
        /// chose to convert another distance
        /// </summary>
        public void Run()
        {
            bool repeat = true;

            while (repeat)
            {
                ConsoleHelper.OutputHeading(" Distance Converter");
                ConvertDistance();
                repeat = ConsoleHelper.WantToRepeat();
            }
        }