Language: C++


#include <iostream>
using namespace std;

int a;
int b;

int main () 
{
cin >> a;
cin >> b;

if (a < b) {
cout << ???a < b??? << endl;
} else if (a == b) {
cout << ???a == b??? << endl;
} else if (a > b) {
cout << ???a > b??? << endl;
}

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: expected primary-expression before '?' token
   14 | cout << ???a < b??? << endl;
      |         ^
a.cc:14:10: error: expected primary-expression before '?' token
   14 | cout << ???a < b??? << endl;
      |          ^
a.cc:14:11: error: expected primary-expression before '?' token
   14 | cout << ???a < b??? << endl;
      |           ^
a.cc:14:18: error: expected primary-expression before '?' token
   14 | cout << ???a < b??? << endl;
      |                  ^
a.cc:14:19: error: expected primary-expression before '?' token
   14 | cout << ???a < b??? << endl;
      |                   ^
a.cc:14:21: error: expected primary-expression before '<<' token
   14 | cout << ???a < b??? << endl;
      |                     ^~
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:14:28: error: expected ':' before ';' token
   14 | cout << ???a < b??? << endl;
      |                            ^
      |                            :
a.cc:14:28: error: expected primary-expression before ';' token
a.cc:16:9: error: expected primary-expression before '?' token
   16 | cout << ???a == b??? << endl;
      |         ^
a.cc:16:10: error: expected primary-expression before '?' token
   16 | cout << ???a == b??? << endl;
      |          ^
a.cc:16:11: error: expected primary-expression before '?' token
   16 | cout << ???a == b??? << endl;
      |           ^
a.cc:16:19: error: expected primary-expression before '?' token
   16 | cout << ???a == b??? << endl;
      |                   ^
a.cc:16:20: error: expected primary-expression before '?' token
   16 | cout << ???a == b??? << endl;
      |                    ^
a.cc:16:22: error: expected primary-expression before '<<' token
   16 | cout << ???a == b??? << endl;
      |                      ^~
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:16:29: error: expected ':' before ';' token
   16 | cout << ???a == b??? << endl;
      |                             ^
      |                             :
a.cc:16:29: error: expected primary-expression before ';' token
a.cc:18:9: error: expected primary-expression before '?' token
   18 | cout << ???a > b??? << endl;
      |         ^
a.cc:18:10: error: expected primary-expression before '?' token
   18 | cout << ???a > b??? << endl;
      |          ^
a.cc:18:11: error: expected primary-expression before '?' token
   18 | cout << ???a > b??? << endl;
      |           ^
a.cc:18:18: error: expected primary-expression before '?' token
   18 | cout << ???a > b??? << endl;
      |                  ^
a.cc:18:19: error: expected primary-expression before '?' token
   18 | cout << ???a > b??? << endl;
      |                   ^
a.cc:18:21: error: expected primary-expression before '<<' token
   18 | cout << ???a > b??? << endl;
      |                     ^~
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token
a.cc:18:28: error: expected ':' before ';' token
   18 | cout << ???a > b??? << endl;
      |                            ^
      |                            :
a.cc:18:28: error: expected primary-expression before ';' token