I want to find the highest scored player and print it.Can anyone explain the logic that i can use in
int Findwinner(int data[][4],int rowSize,int colSize)
thanks..
just set the maximum to the first element then iterate over them and if it is greater then assign that to the maximum. If you wish to keep track of position have a second variable for that too. I would normally avoid checking the same element twice but in this case you have a 2d array so not as easy as starting at 1 instead of 0 like in a 1d.