Example #1
0
 static void Step8873()
 {
     Console.WriteLine();
     Console.WriteLine("8873");
     int[]    in8873r1 = { 7331, 3, 15, -11, 0, 7309 };
     int[]    in8873r2 = { 7321, 5, -7, 96, 7307, 0 };
     double[] outs8873 = { 0.0003, 0.5333, -0.0762, -0.0805, 0, 0 };
     for (int i = 0; i < in8873r1.Length; i++)
     {
         try
         {
             double result = Lab02.Task8873(in8873r1[i], in8873r2[i]);
             Console.WriteLine("{0:F6} ({1:F6})", result, outs8873[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }