Esempio n. 1
0
 static void Step3354()
 {
     Console.WriteLine();
     Console.WriteLine("3354");
     int[] in3354   = { 7, 11, 0, -3 };
     int[] outs3354 = { 343, 1331, 0, 0 };
     for (int i = 0; i < in3354.Length; i++)
     {
         try
         {
             int result = Lab02.Task3354(in3354[i]);
             Console.WriteLine("{0} ({1})", result, outs3354[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }