예제 #1
0
        public void MyCode()
        {
            // The FIRST line of code should be BELOW this line


            System.Console.WriteLine(MysticNumbers.FourNumbers(3, 290, 50, 10));
            // The LAST line of code should be ABOVE this line
        }
예제 #2
0
        public void MyCode()
        {
            // The FIRST line of code should be BELOW this line

            Console.WriteLine($"{MysticNumbers.TwoNumbers(4,8)}, expected 8");
            Console.WriteLine($"{MysticNumbers.ThreeNumbers(2,15,9)}, expected 15");
            Console.WriteLine($"{MysticNumbers.FourNumbers(14,9,4,8)}, expected 14");

            // The LAST line of code should be ABOVE this line
        }
예제 #3
0
        public void MyCode()
        {
            // The FIRST line of code should be BELOW this line

            MysticNumbers newNumber = new MysticNumbers();

            newNumber.ThreeNumbers(7, 2, 3);
            Console.WriteLine($"The result is {newNumber}");

            // The LAST line of code should be ABOVE this line
        }
예제 #4
0
        public void MyCode()
        {
            // The FIRST line of code should be BELOW this line


            System.Console.WriteLine($"{MysticNumbers.ThreeNumbers(2,15,9)}, expected 15");
            System.Console.WriteLine($"{MysticNumbers.TwoNumbers(7,20)}, expected 20");
            System.Console.WriteLine($"{MysticNumbers.FourNumbers(7,20,52,12)}, expected 52");



            // The LAST line of code should be ABOVE this line
        }
예제 #5
0
        public void MyCode()
        {
            // The FIRST line of code should be BELOW this line
            Console.WriteLine(MysticNumbers.ThreeNumbers(8, 7, 9));
            Console.WriteLine(MysticNumbers.ThreeNumbers(-2, 1, -69));
            Console.WriteLine(MysticNumbers.TwoNumbers(6, 9));
            Console.WriteLine(MysticNumbers.TwoNumbers(4, 4));
            Console.WriteLine(MysticNumbers.TwoNumbers(7, 4));
            Console.WriteLine(MysticNumbers.FourNumbers(4, 2, 1, 3));
            Console.WriteLine(MysticNumbers.FourNumbers(4, 7, 1, 3));
            Console.WriteLine(MysticNumbers.FourNumbers(4, 2, 8, 3));
            Console.WriteLine(MysticNumbers.FourNumbers(4, 2, 1, 9));

            // The LAST line of code should be ABOVE this line
        }