Пример #1
0
        public void Test_KaprekarsConstant()
        {
            Kaprekar k     = new Kaprekar();
            int      value = 3524;

            Console.WriteLine("Kaprekars Constant:");
            Console.WriteLine("Input: {0} ", value);
            Console.WriteLine("Output: {0}", k.KaprekarsConstant(value));
            Console.WriteLine();
        }
Пример #2
0
        public void Test()
        {
            var kaprekar = new Kaprekar();

            kaprekar.KaprekarNumbers(77778, 77778);
        }