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;
}