Beispiel #1
0
        private static void ShowAnotherTriangle()
        {
            Console.Write("Insert the number: ");
            int          number   = СheckInputNumber();
            FigurePrinte triangle = new FigurePrinte();

            triangle.ShowEquilateralTriangle(number);
            Console.WriteLine();
        }
Beispiel #2
0
        private static void ShowXMasTree()
        {
            Console.Write("Insert the number: ");
            int          number = СheckInputNumber();
            FigurePrinte tree   = new FigurePrinte();

            tree.ShowTriangleTree(number);
            Console.WriteLine();
        }
Beispiel #3
0
        private static void ShowTriangle()
        {
            Console.Write("Insert the number: ");
            int          number        = СheckInputNumber();
            FigurePrinte rightTriangle = new FigurePrinte();

            rightTriangle.ShowRightTriangle(number);
            Console.WriteLine();
        }