Beispiel #1
0
        static void Main(string[] args)
        {
            GetTempFiles();
            Triangle triangle = new Triangle("triangle.txt");

            triangle.Solve(0);

            Console.WriteLine(@"sum: " + triangle.Sum);


            Triangle triangle1 = new Triangle("simple_triangle.txt");

            triangle1.Solve(0);

            Console.WriteLine(@"sum: " + triangle1.Sum);



            Console.ReadLine();
        }