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

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

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

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