public static void Main()
int length = player[0,20].len;
for i = Console.WriteLine("Green Team scored: " + Gtotal)
Console.WriteLine("Red Team scored: " + Rtotal)if (Gtotal > Rtotal)
Console.WriteLine("Green team won");
else if (Gtotal < Rtotal)
Console.WriteLine("Red team won");
Console.WriteLine("Both teams scored same amount of points");