Language: C++

#include<iostream>

using namespace std;

int main () {

  while (true){

    int n;
    int i;
    int s = 0;
    int mi = 0;
    int ma = 0;
    cin >> n;

    if (n == 0)
      break;
??????
??????int point[100];

    for (i=0,i<n,i++){
      cin >> point[i];

      if (point[i] < mi)
        mi << point[i];

      if (point[i] > ma)
        ma << point[i];

      s += point[i];
    }

    cout << (s - mi - ma) / (n-2) << endl
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:1: error: expected primary-expression before '?' token
   18 | ??????
      | ^
a.cc:18:2: error: expected primary-expression before '?' token
   18 | ??????
      |  ^
a.cc:18:3: error: expected primary-expression before '?' token
   18 | ??????
      |   ^
a.cc:18:4: error: expected primary-expression before '?' token
   18 | ??????
      |    ^
a.cc:18:5: error: expected primary-expression before '?' token
   18 | ??????
      |     ^
a.cc:18:6: error: expected primary-expression before '?' token
   18 | ??????
      |      ^
a.cc:19:1: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      | ^
a.cc:19:2: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      |  ^
a.cc:19:3: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      |   ^
a.cc:19:4: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      |    ^
a.cc:19:5: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      |     ^
a.cc:19:6: error: expected primary-expression before '?' token
   19 | ??????int point[100];
      |      ^
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:19:7: error: expected ':' before 'int'
   19 | ??????int point[100];
      |       ^~~
      |       :
a.cc:19:7: error: expected primary-expression before 'int'
   19 | ??????int point[100];
      |       ^~~
a.cc:21:21: error: expected ';' before ')' token
   21 |     for (i=0,i<n,i++){
      |                     ^
      |                     ;
a.cc:33:42: error: expected ';' before '}' token
   33 |     cout << (s - mi - ma) / (n-2) << endl
      |                                          ^
      |                                          ;
   34 |   }
      |   ~                                       
a.cc:34:3: error: expected primary-expression before '}' token
   34 |   }
      |   ^
a.cc:33:42: error: expected ')' before '}' token
   33 |     cout << (s - mi - ma) / (n-2) << endl
      |                                          ^
      |                                          )
   34 |   }
      |   ~                                       
a.cc:21:9: note: to match this '('
   21 |     for (i=0,i<n,i++){
      |         ^
a.cc:34:3: error: expected primary-expression before '}' token
   34 |   }
      |   ^