Esempio n. 1
0
        public static void Main()
        {
            Problem1.Execute();
            Problem2.Execute();
            Problem3.Execute();

            Console.ReadLine();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            //https://projecteuler.net/archives

            Console.WriteLine("Which Problem would you like to load? (One, two, etc)");
            string userInput = Console.ReadLine();

            switch (userInput.ToLower())
            {
                case "one":
                    Problem1 problem = new Problem1();
                    problem.ProblemOne();
                    break;

                default:
                    Console.WriteLine("Input not recognised");
                    Console.ReadLine();
                    break;
            }
        }
Esempio n. 3
0
 static void Main(string[] args)
 {
     Problem1.Calculate();
     Problem2.Calculate();
 }