So I have some working code for outputting duplicate values in an array, however it is always one short when it outputs them on the screen and I know it has to do with the following code, but I just can't put my finger on it.
Please note I can't use any System.Array.
for (column = 0; column < WinningScores.Length -1 ; column++)
{
if (WinningScores[column] == WinningScores[column + 1])
{
duplicateScore = WinningScores[column];
duplicateIndex = column;
Console.Write("\n Competitor {0} is the Winner with a total of: {1}",
duplicateIndex + 1,
duplicateScore - totalSum);
}
}

Ifcondition, that would allow you to make a different action for the last repetition only. However, you'll want to do something else, you're not checking for duplicates here but for two consecutive values