Exemplo n.º 1
0
 static void Step9180()
 {
     Console.WriteLine();
     Console.WriteLine("9180");
     int[] in9180   = { -100, 7, 368, 501, -101 };
     int[] outs9180 = { 120200, 125229, 57722, 0, 0 };
     for (int i = 0; i < in9180.Length; i++)
     {
         try
         {
             int result = Lab06.Task9180(in9180[i]);
             Console.WriteLine("{0} ({1})", result, outs9180[i]);
         }
         catch (Exception e)
         {
             Console.WriteLine(e.Message);
         }
     }
 }