Exemple #1
0
 static void Step2461()
 {
     Console.WriteLine();
     Console.WriteLine("2461");
     int[]    in2461a  = { 11, 7069, 0, 7019 };
     int[]    in2461b  = { 3000, 7043, 7043, 7043 };
     int[]    in2461c  = { 5, 7039, 7039, 7001 };
     int[]    in2461d  = { 7, 7057, 7027, 0 };
     double[] outs2461 = { 0, 1.9938, 0, 0 };
     for (int i = 0; i < in2461a.Length; i++)
     {
         try
         {
             double result = Lab02.Task2461(in2461a[i], in2461b[i], in2461c[i], in2461d[i]);
             Console.WriteLine("{0:F6} ({1:F6})", result, outs2461[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }