at first glance :
if(max == b[x][y]) // not if(max);
{
counter++;
}
solved How to count how many maximum are in an array?
at first glance :
if(max == b[x][y]) // not if(max);
{
counter++;
}
solved How to count how many maximum are in an array?