展开全部
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace text
{
public class Score
{
public int GetMin(int[]list)
{
int min=int.MaxValue;
foreach(int i in list)
{
if(i<min)
min=i;
}
return min;
}
public int GetMax(int[]list)
{
int max=0;
foreach(int i in list)
{
if(i>max)
max=i;
}
return max;
}
public float GetAve(int[]list)
{
int sum=0;
float Ave;
foreach(int i in list)
{
sum+=i;
}
Ave=sum/10.0f;
return Ave;
}
}
class Program
{ <