rendered paste bodyvoid stripHL(double judges, double scores[ROW_SIZE][COL_SIZE], double &high){ for (int row = 0; row < ROW_SIZE; row++) { int hrow = 0, hcol = 0, lrow = 0, lcol = 0; high = 0; double low = 100; for (int col = 0; col < judges; col++) { if (scores[row][col] > high) { high = scores[row][col]; hrow = row; hcol = col; } if (scores[row][col] < low) { low = scores[row][col]; lrow = row; lcol = col; } } scores[lrow][lcol] = 0.0; // Change lowest score scores[hrow][hcol] = 0.0; // Change highest score }}