public static void Main()
Console.WriteLine("This Week My Fantasy Football team scored:");
double[] teamPlayersScore = {20.2, 11.4, 15.9, 30.5, 25.2, 9.45, 6.89, 8.94, 11};
double scoreTotal = GetTeamTotalPoints(teamPlayersScore);
Console.WriteLine(scoreTotal);
private static double GetTeamTotalPoints(double[] playerScore)
foreach(var score in playerScore)