Esempio n. 1
0
 static void Step4312()
 {
     Console.WriteLine();
     Console.WriteLine("4312");
     int[]    in4312a  = { 1, 2, 0, -2, 3 };
     int[]    in4312h  = { 1, 3, 10, 1, -4 };
     double[] outs4312 = { 0.5, 3 };
     for (int i = 0; i < in4312a.Length; i++)
     {
         try
         {
             double result = Lab02.Task4312(in4312a[i], in4312h[i]);
             Console.WriteLine("{0:F6} ({1:F6})", result, outs4312[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }