Esempio n. 1
0
        static void Main(string[] args)
        {
            string n;
            Array myArray;
            int result;

            Console.Write("Enter an integer number: ");
            n = Console.ReadLine();
            LeftMinMax lmm = new LeftMinMax();
            myArray = lmm.TransferIntToArray(n);
            result = lmm.MinMax(myArray);
            Console.ReadKey();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            string n;
            Array  myArray;
            int    result;

            Console.Write("Enter an integer number: ");
            n = Console.ReadLine();
            LeftMinMax lmm = new LeftMinMax();

            myArray = lmm.TransferIntToArray(n);
            result  = lmm.MinMax(myArray);
            Console.ReadKey();
        }