I think you mean
int calcTotal(int sales)
int company = 0;
for (int row = 0; row < 6; row = row + 1)
for (int col = 0; col < 2; col = col + 1)
company = company + sales[row][col];
//end for col
//end for row
} //end of calcTotal function
that should work if you array is always going to be fixed to  but will not if the size varies.
Hope this helps.