Пример #1
0
        static void DayTenPartTwo()
        {
            Console.WriteLine("Day 10 Part 2 Output");
            DayTen     dayTen  = new DayTen();
            List <int> results = dayTen.PartTwo();

            Console.WriteLine("The Values are " + results [0] + ", " + results [1] + ", and " + results [2] + " and the product is " + (results [0] * results [1] * results [2]));
            Console.ReadLine();
        }
Пример #2
0
        static void DayTenPartOne()
        {
            Console.WriteLine("Day 10 Part 1 Output");
            DayTen dayTen = new DayTen();
            int    droid  = dayTen.PartOne();

            Console.WriteLine(droid + " is the droid we're looking for.");
            Console.ReadLine();
        }
Пример #3
0
        private static int DayTenOne()
        {
            var inp = InputProvider.DayTen();

            return(DayTen.ProblemOne(inp));
        }