Esempio n. 1
0
 static void Step5201()
 {
     Console.WriteLine();
     Console.WriteLine("5201");
     int[]    in5201   = { 13, 17, 0, -5 };
     double[] outs5201 = { 81.6814, 106.8142, 0, 0 };
     for (int i = 0; i < in5201.Length; i++)
     {
         try
         {
             double result = Lab02.Task5201(in5201[i]);
             Console.WriteLine("{0:F6} ({1:F6})", result, outs5201[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }