Beispiel #1
0
        public static void BnaderaJaponesa()
        {
            double f;
            double c;

            //int d;
            for (f = 0; f < 19; f++)
            {
                for (c = 0; c < 74; c++)
                {
                    if (c == 0 || c == 73 || f == 0 || f == 18)
                    {
                        System.Console.Write("*");
                    }
                    else if (Geometric.CalculateDistance2D(37, 10, c, f) < 5.0)
                    {
                        System.Console.Write("0");
                    }
                    else
                    {
                        System.Console.Write(" ");
                    }
                }
                System.Console.WriteLine();
            }
        }