Esempio n. 1
0
        static void Main(string[] args)
        {
            Medium m1 = new Medium("test", MedienTyp.DVD);
            Medium m2 = new Medium("test2");

            int[] statistik = Medium.Statistik(m1, m2);

            int x, y;

            for (x = 1; x <= 3; x++)
            {
                for (y = 1; y <= 3; y++)
                {
                    if (y <= x)
                    {
                        Console.Write("{0} ", x * y);
                    }
                }
                Console.WriteLine();
            }
            int a = 0;
            int b = 5;

            if (a > b && !(b == 0))
            {
                Console.WriteLine("A");
            }
            if (a / b > 5 && b != 0)
            {
                Console.WriteLine("B");
            }
            else if (a != 0 || b != 0)
            {
                Console.WriteLine("C");
            }
            else
            {
                Console.WriteLine("D");
            }
        }