Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
char A,B;
cin>>A>>B:;
    if(a=='A'&&b=='A')cout<<"="<<endl;
    if(a=='A'&&b=='B')cout<<"<"<<endl;
    if(a=='A'&&b=='C')cout<<"<"<<endl;
    if(a=='A'&&b=='D')cout<<"<"<<endl;
    if(a=='A'&&b=='E')cout<<"<"<<endl;
    if(a=='A'&&b=='F')cout<<"<"<<endl;
    if(a=='B'&&b=='A')cout<<">"<<endl;
    if(a=='B'&&b=='B')cout<<"="<<endl;
    if(a=='B'&&b=='C')cout<<"<"<<endl;
    if(a=='B'&&b=='D')cout<<"<"<<endl;
    if(a=='B'&&b=='E')cout<<"<"<<endl;
    if(a=='B'&&b=='F')cout<<"<"<<endl;
    if(a=='C'&&b=='A')cout<<">"<<endl;
    if(a=='C'&&b=='B')cout<<">"<<endl;
    if(a=='C'&&b=='C')cout<<"="<<endl;
    if(a=='C'&&b=='D')cout<<"<"<<endl;
    if(a=='C'&&b=='E')cout<<"<"<<endl;
    if(a=='C'&&b=='F')cout<<"<"<<endl;
    if(a=='D'&&b=='A')cout<<">"<<endl;
    if(a=='D'&&b=='B')cout<<">"<<endl;
    if(a=='D'&&b=='C')cout<<">"<<endl;
    if(a=='D'&&b=='D')cout<<"="<<endl;
    if(a=='D'&&b=='E')cout<<"<"<<endl;
    if(a=='D'&&b=='F')cout<<"<"<<endl;
    if(a=='E'&&b=='A')cout<<">"<<endl;
    if(a=='E'&&b=='B')cout<<">"<<endl;
    if(a=='E'&&b=='C')cout<<">"<<endl;
    if(a=='E'&&b=='D')cout<<">"<<endl;
    if(a=='E'&&b=='E')cout<<"="<<endl;
    if(a=='E'&&b=='F')cout<<"<"<<endl;
    if(a=='F'&&b=='A')cout<<">"<<endl;
    if(a=='F'&&b=='B')cout<<">"<<endl;
    if(a=='F'&&b=='C')cout<<">"<<endl;
    if(a=='F'&&b=='D')cout<<">"<<endl;
    if(a=='F'&&b=='E')cout<<">"<<endl;
    if(a=='F'&&b=='F')cout<<"="<<endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected ';' before ':' token
    5 | cin>>A>>B:;
      |          ^
      |          ;
a.cc:6:8: error: 'a' was not declared in this scope
    6 |     if(a=='A'&&b=='A')cout<<"="<<endl;
      |        ^
a.cc:6:16: error: 'b' was not declared in this scope
    6 |     if(a=='A'&&b=='A')cout<<"="<<endl;
      |                ^
a.cc:7:8: error: 'a' was not declared in this scope
    7 |     if(a=='A'&&b=='B')cout<<"<"<<endl;
      |        ^
a.cc:7:16: error: 'b' was not declared in this scope
    7 |     if(a=='A'&&b=='B')cout<<"<"<<endl;
      |                ^
a.cc:8:8: error: 'a' was not declared in this scope
    8 |     if(a=='A'&&b=='C')cout<<"<"<<endl;
      |        ^
a.cc:8:16: error: 'b' was not declared in this scope
    8 |     if(a=='A'&&b=='C')cout<<"<"<<endl;
      |                ^
a.cc:9:8: error: 'a' was not declared in this scope
    9 |     if(a=='A'&&b=='D')cout<<"<"<<endl;
      |        ^
a.cc:9:16: error: 'b' was not declared in this scope
    9 |     if(a=='A'&&b=='D')cout<<"<"<<endl;
      |                ^
a.cc:10:8: error: 'a' was not declared in this scope
   10 |     if(a=='A'&&b=='E')cout<<"<"<<endl;
      |        ^
a.cc:10:16: error: 'b' was not declared in this scope
   10 |     if(a=='A'&&b=='E')cout<<"<"<<endl;
      |                ^
a.cc:11:8: error: 'a' was not declared in this scope
   11 |     if(a=='A'&&b=='F')cout<<"<"<<endl;
      |        ^
a.cc:11:16: error: 'b' was not declared in this scope
   11 |     if(a=='A'&&b=='F')cout<<"<"<<endl;
      |                ^
a.cc:12:8: error: 'a' was not declared in this scope
   12 |     if(a=='B'&&b=='A')cout<<">"<<endl;
      |        ^
a.cc:12:16: error: 'b' was not declared in this scope
   12 |     if(a=='B'&&b=='A')cout<<">"<<endl;
      |                ^
a.cc:13:8: error: 'a' was not declared in this scope
   13 |     if(a=='B'&&b=='B')cout<<"="<<endl;
      |        ^
a.cc:13:16: error: 'b' was not declared in this scope
   13 |     if(a=='B'&&b=='B')cout<<"="<<endl;
      |                ^
a.cc:14:8: error: 'a' was not declared in this scope
   14 |     if(a=='B'&&b=='C')cout<<"<"<<endl;
      |        ^
a.cc:14:16: error: 'b' was not declared in this scope
   14 |     if(a=='B'&&b=='C')cout<<"<"<<endl;
      |                ^
a.cc:15:8: error: 'a' was not declared in this scope
   15 |     if(a=='B'&&b=='D')cout<<"<"<<endl;
      |        ^
a.cc:15:16: error: 'b' was not declared in this scope
   15 |     if(a=='B'&&b=='D')cout<<"<"<<endl;
      |                ^
a.cc:16:8: error: 'a' was not declared in this scope
   16 |     if(a=='B'&&b=='E')cout<<"<"<<endl;
      |        ^
a.cc:16:16: error: 'b' was not declared in this scope
   16 |     if(a=='B'&&b=='E')cout<<"<"<<endl;
      |                ^
a.cc:17:8: error: 'a' was not declared in this scope
   17 |     if(a=='B'&&b=='F')cout<<"<"<<endl;
      |        ^
a.cc:17:16: error: 'b' was not declared in this scope
   17 |     if(a=='B'&&b=='F')cout<<"<"<<endl;
      |                ^
a.cc:18:8: error: 'a' was not declared in this scope
   18 |     if(a=='C'&&b=='A')cout<<">"<<endl;
      |        ^
a.cc:18:16: error: 'b' was not declared in this scope
   18 |     if(a=='C'&&b=='A')cout<<">"<<endl;
      |                ^
a.cc:19:8: error: 'a' was not declared in this scope
   19 |     if(a=='C'&&b=='B')cout<<">"<<endl;
      |        ^
a.cc:19:16: error: 'b' was not declared in this scope
   19 |     if(a=='C'&&b=='B')cout<<">"<<endl;
      |                ^
a.cc:20:8: error: 'a' was not declared in this scope
   20 |     if(a=='C'&&b=='C')cout<<"="<<endl;
      |        ^
a.cc:20:16: error: 'b' was not declared in this scope
   20 |     if(a=='C'&&b=='C')cout<<"="<<endl;
      |                ^
a.cc:21:8: error: 'a' was not declared in this scope
   21 |     if(a=='C'&&b=='D')cout<<"<"<<endl;
      |        ^
a.cc:21:16: error: 'b' was not declared in this scope
   21 |     if(a=='C'&&b=='D')cout<<"<"<<endl;
      |                ^
a.cc:22:8: error: 'a' was not declared in this scope
   22 |     if(a=='C'&&b=='E')cout<<"<"<<endl;
      |        ^
a.cc:22:16: error: 'b' was not declared in this scope
   22 |     if(a=='C'&&b=='E')cout<<"<"<<endl;
      |                ^
a.cc:23:8: error: 'a' was not declared in this scope
   23 |     if(a=='C'&&b=='F')cout<<"<"<<endl;
      |        ^
a.cc:23:16: error: 'b' was not declared in this scope
   23 |     if(a=='C'&&b=='F')cout<<"<"<<endl;
      |                ^
a.cc:24:8: error: 'a' was not declared in this scope
   24 |     if(a=='D'&&b=='A')cout<<">"<<endl;
      |        ^
a.cc:24:16: error: 'b' was not declared in this scope
   24 |     if(a=='D'&&b=='A')cout<<">"<<endl;
      |                ^
a.cc:25:8: error: 'a' was not declared in this scope
   25 |     if(a=='D'&&b=='B')cout<<">"<<endl;
      |        ^
a.cc:25:16: error: 'b' was not declared in this scope
   25 |     if(a=='D'&&b=='B')cout<<">"<<endl;
      |                ^
a.cc:26:8: error: 'a' was not declared in this scope
   26 |     if(a=='D'&&b=='C')cout<<">"<<endl;
      |        ^
a.cc:26:16: error: 'b' was not declared in this scope
   26 |     if(a=='D'&&b=='C')cout<<">"<<endl;
      |                ^
a.cc:27:8: error: 'a' was not declared in this scope
   27 |     if(a=='D'&&b=='D')cout<<"="<<endl;
      |        ^
a.cc:27:16: error: 'b' was not declared in this scope
   27 |     if(a=='D'&&b=='D')cout<<"="<<endl;
      |                ^
a.cc:28:8: error: 'a' was not declared in this scope
   28 |     if(a=='D'&&b=='E')cout<<"<"<<endl;
      |        ^
a.cc:28:16: error: 'b' was not declared in this scope
   28 |     if(a=='D'&&b=='E')cout<<"<"<<endl;
      |                ^
a.cc:29:8: error: 'a' was not declared in this scope
   29 |     if(a=='D'&&b=='F')cout<<"<"<<endl;
      |        ^
a.cc:29:16: error: 'b' was not declared in this scope
   29 |     if(a=='D'&&b=='F')cout<<"<"<<endl;
      |                ^
a.cc:30:8: error: 'a' was not declared in this scope
   30 |     if(a=='E'&&b=='A')cout<<">"<<endl;
      |        ^
a.cc:30:16: error: 'b' was not declared in this scope
   30 |     if(a=='E'&&b=='A')cout<<">"<<endl;
      |                ^
a.cc:31:8: error: 'a' was not declared in this scope
   31 |     if(a=='E'&&b=='B')cout<<">"<<endl;
      |        ^
a.cc:31:16: error: 'b' was not declared in this scope
   31 |     if(a=='E'&&b=='B')cout<<">"<<endl;
      |                ^
a.cc:32:8: error: 'a' was not declared in this scope
   32 |     if(a=='E'&&b=='C')cout<<">"<<endl;
      |        ^
a.cc:32:16: error: 'b' was not declared in this scope
   32 |     if(a=='E'&&b=='C')cout<<">"<<endl;
      |                ^
a.cc:33:8: error: 'a' was not declared in this scope
   33 |     if(a=='E'&&b=='D')cout<<">"<<endl;
      |        ^
a.cc:33:16: error: 'b' was not declared in this scope
   33 |     if(a=='E'&&b=='D')cout<<">"<<endl;
      |                ^
a.cc:34:8: error: 'a' was not declared in this scope
   34 |     if(a=='E'&&b=='E')cout<<"="<<endl;
      |        ^
a.cc:34:16: error: 'b' was not declared in this scope
   34 |     if(a=='E'&&b=='E')cout<<"="<<endl;
      |                ^
a.cc:35:8: error: 'a' was not declared in this scope
   35 |     if(a=='E'&&b=='F')cout<<"<"<<endl;
      |        ^
a.cc:35:16: error: 'b' was not declared in this scope
   35 |     if(a=='E'&&b=='F')cout<<"<"<<endl;
      |                ^
a.cc:36:8: error: 'a' was not declared in this scope
   36 |     if(a=='F'&&b=='A')cout<<">"<<endl;
      |        ^
a.cc:36:16: error: 'b' was not declared in this scope
   36 |     if(a=='F'&&b=='A')cout<<">"<<endl;
      |                ^
a.cc:37:8: error: 'a' was not declared in this scope
   37 |     if(a=='F'&&b=='B')cout<<">"<<endl;
      |        ^
a.cc:37:16: error: 'b' was not declared in this scope
   37 |     if(a=='F'&&b=='B')cout<<">"<<endl;
      |                ^
a.cc:38:8: error: 'a' was not declared in this scope
   38 |     if(a=='F'&&b=='C')cout<<">"<<endl;
      |        ^
a.cc:38:16: error: 'b' was not declared in this scope
   38 |     if(a=='F'&&b=='C')cout<<">"<<endl;
      |                ^
a.cc:39:8: error: 'a' was not declared in this scope
   39 |     if(a=='F'&&b=='D')cout<<">"<<endl;
      |        ^
a.cc:39:16: error: 'b' was not declared in this scope
   39 |     if(a=='F'&&b=='D')cout<<">"<<endl;
      |                ^
a.cc:40:8: error: 'a' was not declared in this scope
   40 |     if(a=='F'&&b=='E')cout<<">"<<endl;
      |        ^
a.cc:40:16: error: 'b' was not declared in this scope
   40 |     if(a=='F'&&b=='E')cout<<">"<<endl;
      |                ^
a.cc:41:8: error: 'a' was not declared in this scope
   41 |     if(a=='F'&&b=='F')cout<<"="<<endl;
      |        ^
a.cc:41:16: error: 'b' was not declared in this scope
   41 |     if(a=='F'&&b=='F')cout<<"="<<endl;
      |                ^