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

#include(stdio.h)

int main()
{
	int a,b;
	scanf("%d %d\n",&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:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%d %d\n",&a,&b);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%d %d\n",&a,&b);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |         if(a<b) printf("a<b\n");
      |                 ^~~~~~
main.c:7:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |         if(a>b) printf("a>b\n");
      |                 ^~~~~~
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |         if(a==b)printf("a==b\n);
      |                 ^~~~~~
main.c:9:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:24: warning: missing terminating " character
    9 |         if(a==b)printf("a==b\n);
      |                        ^
main.c:9:24: error: missing terminating " character
    9 |         if(a==b)printf("a==b\n);
      |                        ^~~~~~~~~
main.c:10:9: error: expected expression before 'return'
   10 |         return 0;
      |         ^~~~~~
main.c:10:18: error: expected ';' before '}' token
   10 |         return 0;
      |                  ^
      |                  ;
   11 | }
      | ~
Language: C

#include(stdio.h)

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

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%d %d\n",&c,&d);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%d %d\n",&c,&d);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |         if(c<d) printf("a<b\n");
      |                 ^~~~~~
main.c:7:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |         if(c>d) printf("a>b\n");
      |                 ^~~~~~
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |         if(c==d)printf("a==b\n");
      |                 ^~~~~~
main.c:9:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include(stdio.h)

int main()
{
	int c,d;
	scanf("%d %d\n",&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:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%d %d\n",&c,&d);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%d %d\n",&c,&d);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:18: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |         if(c<d) {printf("a<b\n");
      |                  ^~~~~~
main.c:7:18: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:18: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:18: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:24: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |         }else if(c>d) {printf("a>b\n");
      |                        ^~~~~~
main.c:8:24: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:15: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |         }else printf("a==b\n");
      |               ^~~~~~
main.c:9:15: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:8:2: error: implicit declaration of function 'elseif' [-Wimplicit-function-declaration]
    8 | }elseif(a<b){
      |  ^~~~~~
main.c:8:13: error: expected ';' before '{' token
    8 | }elseif(a<b){
      |             ^
      |             ;
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:8:5: error: expected '(' before 'else'
    8 | }if else(a<b){
      |     ^~~~
      |     (
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected expression before '%' token
    4 | scanf("%d %d",%a,%b);
      |               ^
main.c:7:1: error: expected '}' before 'else'
    7 | 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");
else if(a>b){
printf("a > b");
}else{
printf("a == b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected expression before '%' token
    4 | scanf("%d %d",%a,%b);
      |               ^
main.c:7:1: error: expected '}' before 'else'
    7 | 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");
else if(a>b){
printf("a > b");
}else{
printf("a == b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: expected '}' before 'else'
    7 | 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");
else if(a>b){
printf("a > b");
}else if(a==b){
printf("a == b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: expected '}' before 'else'
    7 | else if(a>b){
      | ^~~~
Language: C

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
Language: C

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

scanf("%d",&a);
scanf("%d",&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:9:1: error: expected '}' before 'else'
    9 | else if(a<b){printf("a<b")}
      | ^~~~
main.c:9:27: error: expected ';' before '}' token
    9 | else if(a<b){printf("a<b")}
      |                           ^
      |                           ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(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");
}
elesif(a>b){
printf(a>b);
}
eles{
printf(a==b);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(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");
}
elesif(a>b){
printf(a>b\n);
}
eles{
printf(a==b\n);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(a>b){
      |            ^
      |            ;
main.c:9:11: error: stray '\' in program
    9 | printf(a>b\n);
      |           ^
main.c:12:12: error: stray '\' in program
   12 | printf(a==b\n);
      |            ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(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");
}
elesif(a>b){
printf("a>b\n");
}
eles{
printf("a==b\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(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");
}
eles if(a>b){
printf("a>b\n");
}
eles{
printf("a==b\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: 'eles' undeclared (first use in this function)
    8 | eles if(a>b){
      | ^~~~
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: expected ';' before 'if'
    8 | eles if(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");
eles if(a>b){
printf("a>b\n");
}
eles{
printf("a==b\n");
}
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: 'eles' undeclared (first use in this function)
    7 | eles if(a>b){
      | ^~~~
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: expected ';' before 'if'
    7 | eles if(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");
}
eles if(a>b){
printf("a>b");
}
eles{
printf("a==b");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: 'eles' undeclared (first use in this function)
    8 | eles if(a>b){
      | ^~~~
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: expected ';' before 'if'
    8 | eles if(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");
}
eles if(a>b){
printf("a>b");
}
eles{
printf("a==b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: 'eles' undeclared (first use in this function)
    8 | eles if(a>b){
      | ^~~~
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: expected ';' before 'if'
    8 | eles if(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");
}
elesif(a>b){
printf("a > b\n");
}
eles{
printf("a == b\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'elesif' [-Wimplicit-function-declaration]
    8 | elesif(a>b){
      | ^~~~~~
main.c:8:12: error: expected ';' before '{' token
    8 | elesif(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");
}
eles if(a>b){
printf("a > b\n");
}
eles{
printf("a == b\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: 'eles' undeclared (first use in this function)
    8 | eles if(a>b){
      | ^~~~
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: expected ';' before 'if'
    8 | eles if(a>b){
      |     ^~~
      |     ;
Language: C

include<stdio.h>
int main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&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:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include<stdio.h>
int main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&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:7:29: error: expected ';' before '}' token
    7 | else if(a>b){printf("a>b\n")}
      |                             ^
      |                             ;
Language: C

#include<stdio.h>
int main(void){
int a,b;
scanf("%d",&a);
scanf("%d",&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:7:31: error: expected ';' before '}' token
    7 | else if(a>b){printf("a > b\n")}
      |                               ^
      |                               ;
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\n")}
else{printf("a == b\n");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:31: error: expected ';' before '}' token
    6 | else if(a>b){printf("a > b\n")}
      |                               ^
      |                               ;
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\n")
    } else {
        printf("a == b\n");
    }
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:26: error: expected ';' before '}' token
    9 |         printf("a > b\n")
      |                          ^
      |                          ;
   10 |     } else {
      |     ~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:8:25: error: expected ';' before '{' token
    8 |         } else ( a > b ){
      |                         ^
      |                         ;
Language: C

#include <stdio.h>

int main(){

int a, b;

if(a > b){

printf("%d > %d\n, a, b);

}


else if(a < b){

printf("%d < %d\n, a, b);

}


else (a == b){

printf("%d == %d\n, a, b);

}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:8: warning: missing terminating " character
    9 | printf("%d > %d\n, a, b);
      |        ^
main.c:9:8: error: missing terminating " character
    9 | printf("%d > %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~
main.c:11:1: error: expected expression before '}' token
   11 | }
      | ^
main.c:9:8: error: expected ';' before '}' token
    9 | printf("%d > %d\n, a, b);
      |        ^
      |        ;
   10 | 
   11 | }
      | ~       
main.c:16:8: warning: missing terminating " character
   16 | printf("%d < %d\n, a, b);
      |        ^
main.c:16:8: error: missing terminating " character
   16 | printf("%d < %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~
main.c:18:1: error: expected expression before '}' token
   18 | }
      | ^
main.c:16:8: error: expected ';' before '}' token
   16 | printf("%d < %d\n, a, b);
      |        ^
      |        ;
   17 | 
   18 | }
      | ~       
main.c:21:14: error: expected ';' before '{' token
   21 | else (a == b){
      |              ^
      |              ;
main.c:23:8: warning: missing terminating " character
   23 | printf("%d == %d\n, a, b);
      |        ^
main.c:23:8: error: missing terminating " character
   23 | printf("%d == %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~~
main.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
Language: C

#include <stdio.h>

int main(){

int a, b;

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

if(a > b){

printf("%d > %d\n, a, b);

}


else if(a < b){

printf("%d < %d\n, a, b);

}


else (a == b){

printf("%d == %d\n, a, b);

}

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:8: warning: missing terminating " character
   11 | printf("%d > %d\n, a, b);
      |        ^
main.c:11:8: error: missing terminating " character
   11 | printf("%d > %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~
main.c:13:1: error: expected expression before '}' token
   13 | }
      | ^
main.c:11:8: error: expected ';' before '}' token
   11 | printf("%d > %d\n, a, b);
      |        ^
      |        ;
   12 | 
   13 | }
      | ~       
main.c:18:8: warning: missing terminating " character
   18 | printf("%d < %d\n, a, b);
      |        ^
main.c:18:8: error: missing terminating " character
   18 | printf("%d < %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~
main.c:20:1: error: expected expression before '}' token
   20 | }
      | ^
main.c:18:8: error: expected ';' before '}' token
   18 | printf("%d < %d\n, a, b);
      |        ^
      |        ;
   19 | 
   20 | }
      | ~       
main.c:23:14: error: expected ';' before '{' token
   23 | else (a == b){
      |              ^
      |              ;
main.c:25:8: warning: missing terminating " character
   25 | printf("%d == %d\n, a, b);
      |        ^
main.c:25:8: error: missing terminating " character
   25 | printf("%d == %d\n, a, b);
      |        ^~~~~~~~~~~~~~~~~~~
main.c:31:1: error: expected declaration or statement at end of input
   31 | }
      | ^
Language: C

#include <stdio.h>

int main(){

int a, b;

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

if(a > b){

printf("%d > %d\n", a, b);

}


else if(a < b){

printf("%d < %d\n", a, b);

}


else (a == b){

printf("%d == %d\n", a, b);

}

return 0;

}

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

#include <stdio.h>

int main(){

int a, b;

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

if(a > b){

printf("%d > %d\n", a, b);

}


else if(a < b){

printf("%d < %d\n", a, b);

}


else (a == b){

printf("%d == %d\n", a, b);

}

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:23:14: error: expected ';' before '{' token
   23 | 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");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:19: error: expected ';' before 'if'
    5 | scanf("%d %d",a,b)
      |                   ^
      |                   ;
    6 | 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 if(a==b)
{
printf("a == b\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:19: error: expected ';' before 'if'
    5 | scanf("%d %d",a,b)
      |                   ^
      |                   ;
    6 | 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 if(a == b)
{
printf("a == b\n");
}
return 0;
}

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

#include<stdio.h>
int main()
{
 int a;
 int 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:11:14: error: expected expression before '?' token
   11 |              ??? printf("a>b\n");
      |              ^
main.c:12:2: error: expected '}' before 'else'
   12 |  else if(a==b){
      |  ^~~~
main.c:13:1: error: expected expression before '?' token
   13 | ????????????????????????printf("a==b\n");
      | ^
Language: C

#include<stdio.h>
int main()
{
  int a;
  int 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:11:1: error: expected expression before '?' token
   11 | ?????????????????????printf("a > b\n");
      | ^
Language: C

#include<stdio.h>
int main()
{
  int a;
  int 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:11:1: error: expected expression before '?' token
   11 | ?????????????????????printf("a > b\n");
      | ^
Language: C

#include<stdio.h>
int main()
{
  int a;
  int 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:11:1: error: expected expression before '?' token
   11 | ?????????????????????printf("a > b\n");
      | ^
Language: C

#include<stdio.h>
int main()
{
  int a;
  int 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:11:1: error: expected expression before '?' token
   11 | ?????????????????????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:16:16: error: expected ';' before '}' token
   16 | printf("a>b\n")
      |                ^
      |                ;
   17 | }
      | ~
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");
	}
	pirntf("\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:9: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   15 |         pirntf("\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 (a==b){
	printf("a==f\n");
	}
    return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:4:23: error: invalid operands to binary & (have 'char *' and 'int')
    4 |         scanf("%d %d" &a &b);
      |               ~~~~~~~ ^
      |               |
      |               char *
main.c:7:9: error: expected expression before '}' token
    7 |         }
      |         ^
main.c:11:20: 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{
	printf("a==b\n");
	}
    return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:4:23: error: invalid operands to binary & (have 'char *' and 'int')
    4 |         scanf("%d %d" &a &b);
      |               ~~~~~~~ ^
      |               |
      |               char *
main.c:7:9: error: expected expression before '}' token
    7 |         }
      |         ^
Language: C

#include <stdio.h>
int main(){
 int a,b;
 scanf("%d",&a);
 scanf("%d",&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:10:2: error: expected '}' before 'else'
   10 |  else {
      |  ^~~~
Language: C

#include<stdio.h>

int main(void){

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;
}
End

Compiler output:
main.c:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   23 | End
      | ^~~
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\n");
}

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

return 0;
}
End

Compiler output:
main.c:23:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   23 | End
      | ^~~
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\n");
}

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:11: error: expected ';' before '{' token
   17 | else(a==b){
      |           ^
      |           ;
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\n");
}else(a==b){
printf("a == b\n");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:12: error: expected ';' before '{' token
   13 | }else(a==b){
      |            ^
      |            ;
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\n");
}else(a==b){
printf("a == b\n");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:12: error: expected ';' before '{' token
   13 | }else(a==b){
      |            ^
      |            ;
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\n");
}
else(a==b){
printf("a == b\n");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:11: error: expected ';' before '{' token
   15 | else(a==b){
      |           ^
      |           ;
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 \n");
}
else(a==b){
printf("a == b \n\n");
}

return 0;
}
End

Compiler output:
main.c: In function 'main':
main.c:15:11: error: expected ';' before '{' token
   15 | else(a==b){
      |           ^
      |           ;
main.c: At top level:
main.c:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   21 | End
      | ^~~
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 \n");
}
else if(a==b){
printf("a == b \n\n");
}

return 0;
}
End

Compiler output:
main.c:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   21 | End
      | ^~~
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 \n");
}
else {
printf("a == b \n\n");
}

return 0;
}
End

Compiler output:
main.c:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   21 | End
      | ^~~
Language: C

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

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

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

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

#include <stdio.h>

int main(void) {
    
    int a;
    int b;

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

    if(a >= b) {
        if(a == b) {
            printf("a == b\n");
            return 0;
        }
        printf("a >= b\n");
        return 0;
    }
    printf("a <= b\n")
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:23: error: expected ';' before 'return'
   18 |     printf("a <= b\n")
      |                       ^
      |                       ;
   19 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>

int main(void) {
    
    int a;
    int 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:14:13: error: expected ';' before '}' token
   14 |     return 0
      |             ^
      |             ;
   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");
	}

	printf("%d:%d:%d\n", h, m, s);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:19:30: error: 'h' undeclared (first use in this function)
   19 |         printf("%d:%d:%d\n", h, m, s);
      |                              ^
main.c:19:30: note: each undeclared identifier is reported only once for each function it appears in
main.c:19:33: error: 'm' undeclared (first use in this function)
   19 |         printf("%d:%d:%d\n", h, m, s);
      |                                 ^
main.c:19:36: error: 's' undeclared (first use in this function)
   19 |         printf("%d:%d:%d\n", h, m, s);
      |                                    ^
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:4:15: error: expected expression before '%' token
    4 |         scanf(%d %d",&a,&b);
      |               ^
main.c:4:20: warning: missing terminating " character
    4 |         scanf(%d %d",&a,&b);
      |                    ^
main.c:4:20: error: missing terminating " character
    4 |         scanf(%d %d",&a,&b);
      |                    ^~~~~~~~~
main.c:14:18: error: expected ';' before '}' token
   14 |         return 0;
      |                  ^
      |                  ;
   15 | }
      | ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:19: error: expected ';' before '{' token
    8 |         }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(a>b){
		printf("a>b/n");
	}
	else(a==b){
		printf("a==b/n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:18: error: expected ';' before '{' token
    9 |         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 (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:9:21: error: expected ';' before '{' token
    9 |         else (a > b){
      |                     ^
      |                     ;
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:20: error: expected expression before '%' token
    6 |         scanf("d", %a);
      |                    ^
main.c:7:12: error: 'b' undeclared (first use in this function)
    7 |         if(b>=a){
      |            ^
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:9: error: 'else' without a previous 'if'
   10 |         else(b==a){
      |         ^~~~
main.c:10:19: error: expected ';' before '{' token
   10 |         else(b==a){
      |                   ^
      |                   ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
main.c:16:1: error: expected declaration or statement at end of input
Language: C

include <stdio.h>

void main()
{
	if(1,2){
	a < b
}	else if (4,3){
	a > b
	else if (5,5){
	a == b
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:16: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |         printf(2);
      |                ^
      |                |
      |                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:9: error: expected '}' before 'else'
   12 |         else if (b==a){
      |         ^~~~
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C


int main() {
	int a, b;
	scanf_s("%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:4:9: error: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
    4 |         scanf_s("%d%d", &a, &b);
      |         ^~~~~~~
main.c:7:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |                 printf("a < b\n");
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 
main.c:7:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |                 printf("a < b\n");
      |                 ^~~~~~
main.c:7:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |                 printf("a > b\n");
      |                 ^~~~~~
main.c:10:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   13 |                 printf("a == b\n");
      |                 ^~~~~~
main.c:13:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main() {
	int a, b;
	scanf_s("%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:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d%d", &a, &b);
      |         ^~~~~~~
      |         scanf
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:11:21: warning: missing terminating " character
   11 |   if( a==b ) printf("a==b\n);
      |                     ^
main.c:11:21: error: missing terminating " character
   11 |   if( a==b ) printf("a==b\n);
      |                     ^~~~~~~~~
main.c:13:3: error: expected expression before 'return'
   13 |   return 0;
      |   ^~~~~~
main.c:13:12: error: expected ';' before '}' token
   13 |   return 0;
      |            ^
      |            ;
   14 | }
      | ~
Language: C

#include<studio.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 if(a>b)
{
printf("a > b");
}
}

Compiler output:
main.c:1:9: fatal error: studio.h: No such file or directory
    1 | #include<studio.h>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<studio.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:1:9: fatal error: studio.h: No such file or directory
    1 | #include<studio.h>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main(void)
{
int a,b;
scanf_s("%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:5:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 | scanf_s("%d %d",&a,%b);
      | ^~~~~~~
      | scanf
main.c:5:20: error: expected expression before '%' token
    5 | scanf_s("%d %d",&a,%b);
      |                    ^
Language: C

#include<stdio.h>
int main(void)
{
int a,b;
scanf_s("%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:5:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 | scanf_s("%d %d",&a,%b);
      | ^~~~~~~
      | scanf
main.c:5:20: error: expected expression before '%' token
    5 | scanf_s("%d %d",&a,%b);
      |                    ^
Language: C

#include<stdio.h>
int main(void)
{
  int a,b;
  scanf_s("%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:5:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |   scanf_s("%d %d",&a,%b);
      |   ^~~~~~~
      |   scanf
main.c:5:22: error: expected expression before '%' token
    5 |   scanf_s("%d %d",&a,%b);
      |                      ^
Language: C

#include<stdio.h>

int main()
{
int a,b;
scanf_s("%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:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 | scanf_s("%d %d",&a,&b);
      | ^~~~~~~
      | scanf
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:7:11: error: stray '\' in program
    7 | printf(a>b\n);
      |           ^
main.c:7:11: error: expected ')' before 'n'
    7 | printf(a>b\n);
      |       ~   ^~
      |           )
main.c:7:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 | printf(a>b\n);
      |        ~^~
      |         |
      |         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:9:11: error: stray '\' in program
    9 | printf(a<b\n);
      |           ^
main.c:9:11: error: expected ')' before 'n'
    9 | printf(a<b\n);
      |       ~   ^~
      |           )
main.c:9:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    9 | printf(a<b\n);
      |        ~^~
      |         |
      |         int
/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:10:12: error: expected ';' before 'printf'
   10 | else (a==b)
      |            ^
      |            ;
   11 | printf(a==b\n);
      | ~~~~~~      
main.c:11:12: error: stray '\' in program
   11 | 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{printf(a==b\n);}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:19: error: stray '\' in program
    8 | if(a>b){printf(a>b\n);}
      |                   ^
main.c:8:19: error: expected ')' before 'n'
    8 | if(a>b){printf(a>b\n);}
      |               ~   ^~
      |                   )
main.c:8:17: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 | if(a>b){printf(a>b\n);}
      |                ~^~
      |                 |
      |                 int
In file included from main.c:2:
/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:10:24: error: stray '\' in program
   10 | else if(a<b){printf(a<b\n);}
      |                        ^
main.c:10:24: error: expected ')' before 'n'
   10 | else if(a<b){printf(a<b\n);}
      |                    ~   ^~
      |                        )
main.c:10:22: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 | else if(a<b){printf(a<b\n);}
      |                     ~^~
      |                      |
      |                      int
/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:17: error: stray '\' in program
   12 | else{printf(a==b\n);}
      |                 ^
main.c:12:17: error: expected ')' before 'n'
   12 | else{printf(a==b\n);}
      |            ~    ^~
      |                 )
main.c:12:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 | else{printf(a==b\n);}
      |             ~^~~
      |              |
      |              int
/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, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~