criyle/codenet-compile-errors huggingface dataset:
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a b);
    if (x<y){
         printf("a<b\n");
    } else if (x>y){
         printf("a>b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if 
    {
    printf("%d %d\n",a b);
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:21: error: expected ')' before 'b'
    4 |     scanf("%d %d",&a b);
      |          ~          ^~
      |                     )
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:12:5: error: expected '(' before '{' token
   12 |     {
      |     ^
      |     (
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

#include <stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a &b);
    if(a==b){
    printf("%d==%d\n",a,b);
    }
    if(a<b){
    printf("%d<%d\n",a,b);
    }
    if(a>b){
    printf("%d>%d\n",a,b);
    }
    return 0;
}





Compiler output:
main.c: In function 'main':
main.c:4:22: error: invalid operands to binary & (have 'int *' and 'int')
    4 |     scanf("%d %d",&a &b);
      |                   ~~ ^
      |                   |
      |                   int *
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x<y){
         printf("a<b\n");
    } else if (x>y){
         printf("a>b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if 
    {
    printf("%d %d\n",a b);
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:12:5: error: expected '(' before '{' token
   12 |     {
      |     ^
      |     (
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

#include <stdio.h>

int main(){
  int a,b;

    scanf("%d %d",a b);

    if(a > b) {

      printf("a > b\n");

    }  else if (a == b) {

      printf("a == b\n");

    }  else {

      printf("a < b\n");

} return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:20: error: expected ')' before 'b'
    6 |     scanf("%d %d",a b);
      |          ~         ^~
      |                    )
Language: C

#include <stdio.h>

 int
 main()
{
  int a b;
  scanf("%d,%d",&a,&b)
  if (a>b){
    printf("a>b \n");
   } else if (a<b){
    printf("a<b \n");
   } else    if (a==b){
    printf("a==b \n");
   } 
    return 0;	
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 |   int a b;
      |         ^
main.c:6:9: error: 'b' undeclared (first use in this function)
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:18: error: 'a' undeclared (first use in this function)
    7 |   scanf("%d,%d",&a,&b)
      |                  ^
main.c:7:23: error: expected ';' before 'if'
    7 |   scanf("%d,%d",&a,&b)
      |                       ^
      |                       ;
    8 |   if (a>b){
      |   ~~
Language: C

#include <stdio.h>

int main(){
  int a,b;

    scanf("%d %d",%a %b);

    if(a > b) {

      printf("a > b\n");

    }  else if (a == b) {

      printf("a == b\n");

    }  else {

      printf("a < b\n");

} return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:19: error: expected expression before '%' token
    6 |     scanf("%d %d",%a %b);
      |                   ^
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x<y){
         printf("a<b\n");
    } else if (x>y){
         printf("a>b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if {
    {
    printf("%d %d\n",a b);
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:15: error: expected '(' before '{' token
   11 |     } else if {
      |               ^
      |               (
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
main.c:15:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x<y){
         printf("a<b\n");
    } else if (x>y){
         printf("a>b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if {
    {
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:15: error: expected '(' before '{' token
   11 |     } else if {
      |               ^
      |               (
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
main.c:14:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x<y){
         printf("a<b\n");
    } else if (x>y){
         printf("a>b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:15: error: expected '(' before '{' token
   11 |     } else if {
      |               ^
      |               (
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d",&x,&y); 
    if(x<y)
    printf(a<b)
    else if(x>y)
    printf(a>b)
    else (x=y)
    printf(a==b);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:12: error: 'a' undeclared (first use in this function)
    6 |     printf(a<b)
      |            ^
main.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:14: error: 'b' undeclared (first use in this function)
    6 |     printf(a<b)
      |              ^
main.c:6:16: error: expected ';' before 'else'
    6 |     printf(a<b)
      |                ^
      |                ;
    7 |     else if(x>y)
      |     ~~~~
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    } else if (x<y){
         printf("a<b\n");
    } else if (x==y){
         printf("a==b\n")；
    } else if {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:15: error: expected '(' before '{' token
   11 |     } else if {
      |               ^
      |               (
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d:%d",&a,&b);

    if(a>b);
        printf("a>b\n")

    if(a<b);
        printf("a<b\n")

    if(a==b);
        printf("a==b\n")

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:24: error: expected ';' before 'if'
    8 |         printf("a>b\n")
      |                        ^
      |                        ;
    9 | 
   10 |     if(a<b);
      |     ~~                  
main.c:11:24: error: expected ';' before 'if'
   11 |         printf("a<b\n")
      |                        ^
      |                        ;
   12 | 
   13 |     if(a==b);
      |     ~~                  
main.c:14:25: error: expected ';' before 'return'
   14 |         printf("a==b\n")
      |                         ^
      |                         ;
   15 | 
   16 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>
 
int main(){
  int x, y;
  scanf("%d %d", &a,&b);
  if (x > y) {
    printf("a >b¥n");
  }
  else if (x < y) {
    printf("a < b\n"); 
  }
  else if  (x == y){
    printf("a == b\n");
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:19: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d %d", &a,&b);
      |                   ^
main.c:5:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:22: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d %d", &a,&b);
      |                      ^
Language: C

#include <stdio.h>

 int
 main()
{
  int a b;
  scanf("%d,%d",&a,&b);
  if (a>b){
    printf("a>b \n");
   } else if (a<b){
    printf("a<b \n");
   } else    if (a==b){
    printf("a==b \n");
   } 
    return 0;	
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 |   int a b;
      |         ^
main.c:6:9: error: 'b' undeclared (first use in this function)
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:18: error: 'a' undeclared (first use in this function)
    7 |   scanf("%d,%d",&a,&b);
      |                  ^
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
     else if (x==y){
         printf("a==b\n")；
    }else if {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:9:6: error: expected '}' before 'else'
    9 |      else if (x==y){
      |      ^~~~
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:14: error: expected '(' before '{' token
   11 |     }else if {
      |              ^
      |              (
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
    }else if (x==y){
         printf("a==b\n")；
    }else if {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:14: error: expected '(' before '{' token
   11 |     }else if {
      |              ^
      |              (
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
    }else if (x==y){
         printf("a==b\n")；
    }else if {
    };
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
main.c:11:14: error: expected '(' before '{' token
   11 |     }else if {
      |              ^
      |              (
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
    }else if (x==y){
         printf("a==b\n")；
    }else {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
    }else if (x==y){
         printf("a==b\n")；
    }else{
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
         printf("a>b
\n");
    }else if (x<y){
         printf("a<b
\n");
    }else if (x==y){
         printf("a==b
\n")；
    }else{
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:6:17: warning: missing terminating " character
    6 |          printf("a>b
      |                 ^
main.c:6:17: error: missing terminating " character
    6 |          printf("a>b
      |                 ^~~~
main.c:7:1: error: stray '\' in program
    7 | \n");
      | ^
main.c:7:3: warning: missing terminating " character
    7 | \n");
      |   ^
main.c:7:3: error: missing terminating " character
    7 | \n");
      |   ^~~
main.c:7:2: error: 'n' undeclared (first use in this function)
    7 | \n");
      |  ^
main.c:7:3: error: expected ')' before '}' token
    7 | \n");
      |   ^
      |   )
    8 |     }else if (x<y){
      |     ~
main.c:6:16: note: to match this '('
    6 |          printf("a>b
      |                ^
main.c:7:3: error: expected ';' before '}' token
    7 | \n");
      |   ^
      |   ;
    8 |     }else if (x<y){
      |     ~
main.c:9:17: warning: missing terminating " character
    9 |          printf("a<b
      |                 ^
main.c:9:17: error: missing terminating " character
    9 |          printf("a<b
      |                 ^~~~
main.c:10:1: error: stray '\' in program
   10 | \n");
      | ^
main.c:10:3: warning: missing terminating " character
   10 | \n");
      |   ^
main.c:10:3: error: missing terminating " character
   10 | \n");
      |   ^~~
main.c:10:3: error: expected ')' before '}' token
   10 | \n");
      |   ^
      |   )
   11 |     }else if (x==y){
      |     ~
main.c:9:16: note: to match this '('
    9 |          printf("a<b
      |                ^
main.c:10:3: error: expected ';' before '}' token
   10 | \n");
      |   ^
      |   ;
   11 |     }else if (x==y){
      |     ~
main.c:12:17: warning: missing terminating " character
   12 |          printf("a==b
      |                 ^
main.c:12:17: error: missing terminating " character
   12 |          printf("a==b
      |                 ^~~~~
main.c:13:1: error: stray '\' in program
   13 | \n")；
      | ^
main.c:13:3: warning: missing terminating " character
   13 | \n")；
      |   ^
main.c:13:3: error: missing terminating " character
   13 | \n")；
      |   ^~~~
main.c:13:3: error: expected ')' before '}' token
   13 | \n")；
      |   ^
      |   )
   14 |     }else{
      |     ~
main.c:12:16: note: to match this '('
   12 |          printf("a==b
      |                ^
main.c:13:3: error: expected ';' before '}' token
   13 | \n")；
      |   ^
      |   ;
   14 |     }else{
      |     ~
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d:%d",&a,&b);

    if(a > b);
        printf("a > b\n")

    if(a < b);
        printf("a < b\n")

    if(a == b);
        printf("a == b\n")

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:26: error: expected ';' before 'if'
    8 |         printf("a > b\n")
      |                          ^
      |                          ;
    9 | 
   10 |     if(a < b);
      |     ~~                    
main.c:11:26: error: expected ';' before 'if'
   11 |         printf("a < b\n")
      |                          ^
      |                          ;
   12 | 
   13 |     if(a == b);
      |     ~~                    
main.c:14:27: error: expected ';' before 'return'
   14 |         printf("a == b\n")
      |                           ^
      |                           ;
   15 | 
   16 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>

int main(){
  int A,B;

  scanf("%d %d",&A,&B)

    if(A > B) {

      printf("a > b\n");

    }  else if (A == B) {

      printf("a == b\n");

    }  else {

      printf("a < b\n");

} return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'if'
    6 |   scanf("%d %d",&A,&B)
      |                       ^
      |                       ;
    7 | 
    8 |     if(A > B) {
      |     ~~
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d",&x,&y); 
    if(x<y){
     printf(a<b\n);
}
    else if(x>y){
     printf(a>b\n);
}
    else (x=y){
     printf(a==b\n);
]
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:13: error: 'a' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |             ^
main.c:6:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: stray '\' in program
    6 |      printf(a<b\n);
      |                ^
main.c:6:15: error: 'b' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |               ^
main.c:6:16: error: expected ')' before 'n'
    6 |      printf(a<b\n);
      |            ~   ^~
      |                )
main.c:9:16: error: stray '\' in program
    9 |      printf(a>b\n);
      |                ^
main.c:9:16: error: expected ')' before 'n'
    9 |      printf(a>b\n);
      |            ~   ^~
      |                )
main.c:11:15: error: expected ';' before '{' token
   11 |     else (x=y){
      |               ^
      |               ;
main.c:12:17: error: stray '\' in program
   12 |      printf(a==b\n);
      |                 ^
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d",&x,&y); 
    if(x<y){
     printf(a<b\n);
}
    else if(x>y){
     printf(a>b\n);
}
    else (x=y){
     printf(a==b\n);
}
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:13: error: 'a' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |             ^
main.c:6:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: stray '\' in program
    6 |      printf(a<b\n);
      |                ^
main.c:6:15: error: 'b' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |               ^
main.c:6:16: error: expected ')' before 'n'
    6 |      printf(a<b\n);
      |            ~   ^~
      |                )
main.c:9:16: error: stray '\' in program
    9 |      printf(a>b\n);
      |                ^
main.c:9:16: error: expected ')' before 'n'
    9 |      printf(a>b\n);
      |            ~   ^~
      |                )
main.c:11:15: error: expected ';' before '{' token
   11 |     else (x=y){
      |               ^
      |               ;
main.c:12:17: error: stray '\' in program
   12 |      printf(a==b\n);
      |                 ^
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&x,&y); 
    if(x<y){
     printf(a<b\n);
}
    else if(x>y){
     printf(a>b\n);
}
    else (x=y){
     printf(a==b\n);
}
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:13: error: 'a' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |             ^
main.c:6:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: stray '\' in program
    6 |      printf(a<b\n);
      |                ^
main.c:6:15: error: 'b' undeclared (first use in this function)
    6 |      printf(a<b\n);
      |               ^
main.c:6:16: error: expected ')' before 'n'
    6 |      printf(a<b\n);
      |            ~   ^~
      |                )
main.c:9:16: error: stray '\' in program
    9 |      printf(a>b\n);
      |                ^
main.c:9:16: error: expected ')' before 'n'
    9 |      printf(a>b\n);
      |            ~   ^~
      |                )
main.c:11:15: error: expected ';' before '{' token
   11 |     else (x=y){
      |               ^
      |               ;
main.c:12:17: error: stray '\' in program
   12 |      printf(a==b\n);
      |                 ^
Language: C

#include <stdio.h>

int main(){
  int c,Bd;

  scanf("%d %d",&c,&d)

    if(c > d) {

      printf("a > b\n");

    }  else if (c == d) {

      printf("a == b\n");

    }  else {

      printf("a < b\n");

} return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:21: error: 'd' undeclared (first use in this function); did you mean 'Bd'?
    6 |   scanf("%d %d",&c,&d)
      |                     ^
      |                     Bd
main.c:6:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:23: error: expected ';' before 'if'
    6 |   scanf("%d %d",&c,&d)
      |                       ^
      |                       ;
    7 | 
    8 |     if(c > d) {
      |     ~~
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a &b);
    if (x>y){
         printf("a>b\n");
    }else if (x<y){
         printf("a<b\n");
    }else if (x==y){
         printf("a==b\n")；
    }else{
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a &b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a &b);
      |                       ^
main.c:10:26: error: expected ';' before '\U0000ff1b'
   10 |          printf("a==b\n")；
      |                          ^~
      |                          ;
Language: C

#include <stdio.h>

int main(){
  int c,d;

  scanf("%d %d",&c,&d)

    if(c > d) {

      printf("a > b\n");

    }  else if (c == d) {

      printf("a == b\n");

    }  else {

      printf("a < b\n");

} return 0;

}


Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'if'
    6 |   scanf("%d %d",&c,&d)
      |                       ^
      |                       ;
    7 | 
    8 |     if(c > d) {
      |     ~~
Language: C

#include <stdio.h>
int main(){
  int a,ab;
  scanf("%d %d",&a,&b);
  if (a > b) {
    printf("a > b¥n");
  }
  else if (a < b) {
    printf("a < b\n"); 
  }
  else if  (a == b){
    printf("a == b\n");
  }
  return 0;
}
 




Compiler output:
main.c: In function 'main':
main.c:4:21: error: 'b' undeclared (first use in this function); did you mean 'ab'?
    4 |   scanf("%d %d",&a,&b);
      |                     ^
      |                     ab
main.c:4:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
}
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include <stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b); 
    if(a < b){
     printf("a < b\n");
}
    else if(a > b){
     printf("a > b\n");
}
    else (a = b){
     printf("a == b\n");
}
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:17: error: expected ';' before '{' token
   11 |     else (a = b){
      |                 ^
      |                 ;
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
    }
    return 0;
} 


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include <stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b); 
    if(a < b){
     printf("a < b\n");
}
    else if(a > b){
     printf("a > b\n");
}
    else (a == b){
     printf("a == b\n");
}
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:18: error: expected ';' before '{' token
   11 |     else (a == b){
      |                  ^
      |                  ;
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d:%d",&a,&b);

    if(a > b);
        printf("a > b\n");

    else if(a < b);
        printf("a < b\n");

    else if(a == b);
        printf("a == b\n");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:5: error: 'else' without a previous 'if'
   10 |     else if(a < b);
      |     ^~~~
main.c:13:5: error: 'else' without a previous 'if'
   13 |     else if(a == b);
      |     ^~~~
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d:%d",&a,&b);

    if(a > b);
        printf("a > b\n");

    else if(a < b);
        printf("a < b\n");

    else(a == b);
        printf("a == b\n");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:5: error: 'else' without a previous 'if'
   10 |     else if(a < b);
      |     ^~~~
main.c:13:5: error: 'else' without a previous 'if'
   13 |     else(a == b);
      |     ^~~~
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&x,&y);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (Go>Ga){
      printf("a>b\n");
    }else if (Go<Ga){
      printf("a<b\n");
    }else if (Go==Ga){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:5:9: error: 'Go' undeclared (first use in this function)
    5 |     if (Go>Ga){
      |         ^~
main.c:5:12: error: 'Ga' undeclared (first use in this function)
    5 |     if (Go>Ga){
      |            ^~
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
    int main()
{
    int a,b;{
    if(a<b){
    false
}   else if(a>b){
    false
}   else if(a==b){
    true
}   scanf("a",&b);
    printf(0<=a<=1000,0<=b<=1000)
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'false' undeclared (first use in this function)
    6 |     false
      |     ^~~~~
main.c:2:1: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include<stdio.h>
  +++ |+#include <stdbool.h>
    2 |     int main()
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
    6 |     false
      |     ^~~~~
main.c:6:10: error: expected ';' before '}' token
    6 |     false
      |          ^
      |          ;
    7 | }   else if(a>b){
      | ~         
main.c:8:10: error: expected ';' before '}' token
    8 |     false
      |          ^
      |          ;
    9 | }   else if(a==b){
      | ~         
main.c:10:5: error: 'true' undeclared (first use in this function)
   10 |     true
      |     ^~~~
main.c:10:5: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:10:9: error: expected ';' before '}' token
   10 |     true
      |         ^
      |         ;
   11 | }   scanf("a",&b);
      | ~        
main.c:12:16: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 |     printf(0<=a<=1000,0<=b<=1000)
      |            ~~~~^~~~~~
      |                |
      |                int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:34: error: expected ';' before 'return'
   12 |     printf(0<=a<=1000,0<=b<=1000)
      |                                  ^
      |                                  ;
   13 |     return 0;
      |     ~~~~~~                        
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int Go,Ga;
    scanf("%d %d",&a,&b);
    if (Go>Ga){
      printf("a>b\n");
    }else if (Go<Ga){
      printf("a<b\n");
    }else if (Go==Ga){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function); did you mean 'Ga'?
    4 |     scanf("%d %d",&a,&b);
      |                    ^
      |                    Ga
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include <stdio.h>
 int main(){
     int a,b;
     scanf("%d,%d,&a,&b);
     if (a>b) {
     printf("a > b \n");
}    if (a <b) {
     printf("a < b \n");
}    if (a==b){
     printf("a == b \n");
}    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:4:12: warning: missing terminating " character
    4 |      scanf("%d,%d,&a,&b);
      |            ^
main.c:4:12: error: missing terminating " character
    4 |      scanf("%d,%d,&a,&b);
      |            ^~~~~~~~~~~~~~
main.c:5:6: error: expected expression before 'if'
    5 |      if (a>b) {
      |      ^~
main.c:11:15: error: expected ';' before '}' token
   11 | }    return 0;
      |               ^
      |               ;
   12 | }
      | ~
Language: C

#include <stdio.h>
 int main(){
     int a,b;
     scanf("%d,%d,&a,&b);
     if (a>b) {
     printf("a > b\n");
}    if (a <b) {
     printf("a < b\n");
}    if (a==b){
     printf("a == b\n");
}    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:4:12: warning: missing terminating " character
    4 |      scanf("%d,%d,&a,&b);
      |            ^
main.c:4:12: error: missing terminating " character
    4 |      scanf("%d,%d,&a,&b);
      |            ^~~~~~~~~~~~~~
main.c:5:6: error: expected expression before 'if'
    5 |      if (a>b) {
      |      ^~
main.c:11:15: error: expected ';' before '}' token
   11 | }    return 0;
      |               ^
      |               ;
   12 | }
      | ~
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x=y){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b\n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |     if (x>y){
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:11: error: 'y' undeclared (first use in this function)
    5 |     if (x>y){
      |           ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b\n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b¥n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b¥n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b¥n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |     if (x>y){
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:11: error: 'y' undeclared (first use in this function)
    5 |     if (x>y){
      |           ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b¥n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&x,&y);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b¥n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:20: error: 'x' undeclared (first use in this function)
    4 |     scanf("%d %d",&x,&y);
      |                    ^
main.c:4:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'y' undeclared (first use in this function)
    4 |     scanf("%d %d",&x,&y);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b¥n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);

    if(a<b){
      print("a<b\n");

    else if(a>b){
      print("a>b\n");

    else if(a==b){
      print("a==b\n");

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:7: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |       print("a<b\n");
      |       ^~~~~
      |       printf
main.c:9:5: error: expected '}' before 'else'
    9 |     else if(a>b){
      |     ^~~~
main.c:12:5: error: expected '}' before 'else'
   12 |     else if(a==b){
      |     ^~~~
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);

    if(a<b){
      print("a<b\n");

    }else if(a>b){
      print("a>b\n");

    }else if(a==b){
      print("a==b\n");

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:7: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |       print("a<b\n");
      |       ^~~~~
      |       printf
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int a b;
    scanf("%d %d",&x,&y);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b¥n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 |     int a b;
      |           ^
main.c:3:11: error: 'b' undeclared (first use in this function)
main.c:3:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:20: error: 'x' undeclared (first use in this function)
    4 |     scanf("%d %d",&x,&y);
      |                    ^
main.c:4:23: error: 'y' undeclared (first use in this function)
    4 |     scanf("%d %d",&x,&y);
      |                       ^
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b¥n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>
int main(){
    int a,b;
    scanf("%d %d",&a,&b);

    if(a < b){
      print("a < b\n");

    }else if(a > b){
      print("a > b\n");

    }else if(a == b){
      print("a == b\n");

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:7: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |       print("a < b\n");
      |       ^~~~~
      |       printf
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d %d",&a,&b);

    if(a < b){
      printf("a < b\n");

    }else if(a > b){
      printf("a > b\n");

    }else if(a == b){
      printf("a == b\n");

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int a,b;

    scanf("%d:%d",&a,&b);

    if(a < b){
      printf("a < b\n");

    }else if(a > b){
      printf("a > b\n");

    }else if(a == b){
      printf("a == b\n");

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>
int main(){
    int x,y;
    scanf("%d %d",&x,&y);
    if (x>y){
      printf("a>b\n");
    }else if (x<y){
      printf("a<b\n");
    }else if (x==y){
      printf("a==b¥n")；
    }else {
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:23: error: expected ';' before '\U0000ff1b'
   10 |       printf("a==b¥n")；
      |                       ^~
      |                       ;
Language: C

#include<stdio.h>

int main()
{
  int a, b;
  scanf("%d %d", &a, &b);
  if(a < b){
    printf("a < b");
  }else if("a > b"){
    printf("a > b");
  }else{
    printf("a == b"):
  }
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:12:21: error: expected ';' before ':' token
   12 |     printf("a == b"):
      |                     ^
      |                     ;
Language: C

#include <stdio.h>
int main(void){
    int a,b;
    scanf("%d %d\n",&a,&b);
    if(a<b)
    {
        printf("a<b\n");
    }
    else if(a>b)
    {
        printf("a>b\n");
    }
    else if(a==b)
    {
        printf("a=b\n");
    }
        return 0;
        
    
        
    
}
    
        
    
}



Compiler output:
main.c:26:1: error: expected identifier or '(' before '}' token
   26 | }
      | ^
Language: C

#include <stdio.h>
int main<(void)
{
    int a, b;
    scanf("%d %d" ,a ,b);
    if(a > b)
    {
        printf("a > b\n");
    }
    else if(a < b)
    {
    printf(a < b);
    }
    else
    {
        printf(a == b);
    }
    return 0;
}



Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    2 | int main<(void)
      |         ^
Language: C

#include <stdio.h>
int main()
{
    int a, b;
    scanf("%d %d",&a, &b);
    if (a<b)
    printg("a < b\n");
    else if(a>b)
    printf("a > b\n");
    else if(a == b)
    printf("a ==b\n");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'printg'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |     printg("a < b\n");
      |     ^~~~~~
      |     printf
Language: C

#include<stdio.h>
int main()
{
    int a,b;
    scanf("%d%d"&a, &b);
    if(a < b)
    {
        printf("a<b\n");
    }
    else if(a > b)
    {
        printf("a>b\n");
    }
    else if (a == b)
    {
        printf("a==b\n");
    }
    else
    {
        printf("error");
    }
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:17: error: invalid operands to binary & (have 'char *' and 'int')
    5 |     scanf("%d%d"&a, &b);
      |           ~~~~~~^
      |           |
      |           char *
Language: C

#include <stdio.h>
int main ()
{
    int a,b;
    
    scanf("%d %d"a,b);
     if (a < b){
         printf("a < b");
     }
     else if(a > b){
         printf("a > b");
     }
     else{
         printf("a == b");
     }
     return 0;
     
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ')' before 'a'
    6 |     scanf("%d %d"a,b);
      |          ~       ^
      |                  )
Language: C

#include <stdio.h>
int main ()
{
    int a,b;
    
    scanf("%d %d"&a,&b);
     if (a < b){
         printf("a < b");
     }
     else if(a > b){
         printf("a > b");
     }
     else{
         printf("a == b");
     }
     return 0;
     
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: invalid operands to binary & (have 'char *' and 'int')
    6 |     scanf("%d %d"&a,&b);
      |           ~~~~~~~^
      |           |
      |           char *