static void Step8873() { Console.WriteLine(); Console.WriteLine("8873"); int[] in8873r1 = { 7331, 3, 0, 7309 }; int[] in8873r2 = { 7321, 5, 7307, 0 }; double[] outs8873 = { 0.0003, 0.5333, 0, 0 }; for (int i = 0; i < in8873r1.Length; i++) { try { Lab02 calc = new Lab02(); double result = calc.task8873(in8873r1[i], in8873r2[i]); Console.WriteLine("{0:F6} ({1:F6})", result, outs8873[i]); } catch (Exception e) { Console.WriteLine(e.Message); } } }