📅  最后修改于: 2022-03-11 14:49:24.345000             🧑  作者: Mango
static double TotalGroup(Money[] M, int n)
{
double sum = 0;
for (int i = 0; i < n; i++)
{
sum = sum + Convert.ToDouble(M[i].GetMoney());
}
return sum / 100;
}