Ejemplo n.º 1
0
 static void Step2802()
 {
     Console.WriteLine();
     Console.WriteLine("2802");
     int[]    in2802  = { 4, 11, 19, -1, 0 };
     double[] out2802 = { 2.0833, 3.0198, 3.5477 };
     for (int i = 0; i < in2802.Length; i++)
     {
         try
         {
             double result = Lab06.Task2802(in2802[i]);
             Console.WriteLine("{0:F6} ({1:F6})", result, out2802[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }