double[] arr = { 9.8, 12, 45, 67, 23, 1.98, 2.55, 45 };Console.WriteLine($"{arr.Max()} {arr.Min()} {arr.Average()}");