Beispiel #1
0
        static void Main(string[] args)
        {
            double a, b, c;

            a = SetPoint("Введите точку а: ");
            b = SetPoint("Введите точку b: ");
            c = SetPoint("Введите точку c: ");

            TriangleUtils utils = new TriangleUtils();

            TriangleUtils.TriangleType type = utils.GetTriangleType(a, b, c);

            Console.WriteLine("Тип треугольника: " + type);
            Console.ReadKey();
        }