Language: C++


#include <iostream>
using namespace std;

int main () 
{
int a;
int b;

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:20: error: expected primary-expression before '?' token
   16 | cout << ??? a == b??? << endl;
      |                    ^
a.cc:16:21: error: expected primary-expression before '?' token
   16 | cout << ??? a == b??? << endl;
      |                     ^
a.cc:16:23: error: expected primary-expression before '<<' token
   16 | cout << ??? a == b??? << endl;
      |                       ^~
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: error: expected primary-expression before ';' token
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: error: expected primary-expression before ';' token
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: error: expected primary-expression before ';' token
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: error: expected primary-expression before ';' token
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: error: expected primary-expression before ';' token
a.cc:16:30: error: expected ':' before ';' token
   16 | cout << ??? a == b??? << endl;
      |                              ^
      |                              :
a.cc:16:30: 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:20: 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:23: error: expected primary-expression before '<<' token
   18 | cout << ??? a > b ??? << endl;
      |                       ^~
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token
a.cc:18:30: error: expected ':' before ';' token
   18 | cout << ??? a > b ??? << endl;
      |                              ^
      |                              :
a.cc:18:30: error: expected primary-expression before ';' token