c#问题求大神解答

2024-11-26 10:49:49
推荐回答(1个)
回答1:

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