Language: C++

#include<iostream>

using namespace std;

int main () {
  while (true){
    int n,i;
    int s = 0;
    int mi = 0;
    int ma = 0;
    cin >> n;

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

    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:15:1: error: expected primary-expression before '?' token
   15 | ??????
      | ^
a.cc:15:2: error: expected primary-expression before '?' token
   15 | ??????
      |  ^
a.cc:15:3: error: expected primary-expression before '?' token
   15 | ??????
      |   ^
a.cc:15:4: error: expected primary-expression before '?' token
   15 | ??????
      |    ^
a.cc:15:5: error: expected primary-expression before '?' token
   15 | ??????
      |     ^
a.cc:15:6: error: expected primary-expression before '?' token
   15 | ??????
      |      ^
a.cc:16:1: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      | ^
a.cc:16:2: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      |  ^
a.cc:16:3: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      |   ^
a.cc:16:4: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      |    ^
a.cc:16:5: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      |     ^
a.cc:16:6: error: expected primary-expression before '?' token
   16 | ??????int point[n];
      |      ^
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:16:7: error: expected ':' before 'int'
   16 | ??????int point[n];
      |       ^~~
      |       :
a.cc:16:7: error: expected primary-expression before 'int'
   16 | ??????int point[n];
      |       ^~~
a.cc:18:21: error: expected ';' before ')' token
   18 |     for (i=0,i<n,i++){
      |                     ^
      |                     ;
a.cc:30:42: error: expected ';' before '}' token
   30 |     cout << (s - mi - ma) / (n-2) << endl
      |                                          ^
      |                                          ;
   31 |   }
      |   ~                                       
a.cc:31:3: error: expected primary-expression before '}' token
   31 |   }
      |   ^
a.cc:30:42: error: expected ')' before '}' token
   30 |     cout << (s - mi - ma) / (n-2) << endl
      |                                          ^
      |                                          )
   31 |   }
      |   ~                                       
a.cc:18:9: note: to match this '('
   18 |     for (i=0,i<n,i++){
      |         ^
a.cc:31:3: error: expected primary-expression before '}' token
   31 |   }
      |   ^