Beispiel #1
0
        static void Main(string[] args)
        {
            int n;
            int result = 0;

            Console.Write("Enter an integer number: ");

            n = int.Parse(Console.ReadLine());
            CalculateRow cr = new CalculateRow();
            result = cr.Row(n);
            Console.WriteLine("Result of calcualtion is " + result);
            Console.ReadKey();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            int n;
            int result = 0;

            Console.Write("Enter an integer number: ");

            n = int.Parse(Console.ReadLine());
            CalculateRow cr = new CalculateRow();

            result = cr.Row(n);
            Console.WriteLine("Result of calcualtion is " + result);
            Console.ReadKey();
        }