criyle/codenet-compile-errors huggingface dataset:
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){


  prnitf("a=-b\n");


 }


 }


 return 0;


}


 

Compiler output:
main.c: In function 'main':
main.c:39:2: error: 'else' without a previous 'if'
   39 |  else{
      |  ^~~~
main.c:45:3: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   45 |   prnitf("a=-b\n");
      |   ^~~~~~
      |   printf
Language: C

#include<stdio.h>

int main(void)

{

int a,b;

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

else if(a<b){ 

printf("a<b\n");

}

else 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:1: error: 'else' without a previous 'if'
   11 | else if(a<b){
      | ^~~~
Language: C

#include<stdio.h>

int main(void)


{


int a,b;


scanf("a b",&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:43:17: error: stray '\' in program
   43 | printf("a == b")\n
      |                 ^
main.c:43:17: error: expected ';' before 'n'
   43 | 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


 if(a==b){


  prnitf("a=-b\n");


 }


 return 0;


}


 

Compiler output:
main.c: In function 'main':
main.c:45:3: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   45 |   prnitf("a=-b\n");
      |   ^~~~~~
      |   printf
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


  prnitf("a=-b\n");


 }


 return 0;


}


 

Compiler output:
main.c: In function 'main':
main.c:39:3: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   39 |   prnitf("a=-b\n");
      |   ^~~~~~
      |   printf
main.c: At top level:
main.c:45:2: error: expected identifier or '(' before 'return'
   45 |  return 0;
      |  ^~~~~~
main.c:48:1: error: expected identifier or '(' before '}' token
   48 | }
      | ^
Language: C

#include<stdio.h>

int main(void);

{

int a,b;

scanf("%d",&a);

scanf("%d",%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:5:1: error: expected identifier or '(' before '{' token
    5 | {
      | ^
Language: C

#include<stdio.h>

int main(void)

{

int a,b;

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

else 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: 'else' without a previous 'if'
   11 | else if(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{


  prnitf("a=-b\n");


 }


 return 0;


}


 

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

#include<stdio.h>

int main(void)


(


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:9:1: error: expected declaration specifiers or '...' before 'scanf'
    9 | scanf("%d" %d",&a,&b);
      | ^~~~~
main.c:9:14: warning: missing terminating " character
    9 | scanf("%d" %d",&a,&b);
      |              ^
main.c:9:14: error: missing terminating " character
    9 | scanf("%d" %d",&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


  prnitf("a=-b\n");


 


 return 0;


}


 

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

#include<stdio.h>

int main(void)


{


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:9:14: warning: missing terminating " character
    9 | scanf("%d" %d",&a,&b);
      |              ^
main.c:9:14: error: missing terminating " character
    9 | scanf("%d" %d",&a,&b);
      |              ^~~~~~~~~
main.c:9:13: error: 'd' undeclared (first use in this function)
    9 | scanf("%d" %d",&a,&b);
      |             ^
main.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:14: error: expected ')' before 'if'
    9 | scanf("%d" %d",&a,&b);
      |      ~       ^
      |              )
......
   12 | if(a<b){
      | ~~            
main.c:45:10: error: expected ';' before '}' token
   45 | return 0;
      |          ^
      |          ;
......
   48 | }
      | ~
Language: C

#include<stdio.h>

int main(void){


int a,b


printf(":");


scanf("%d",&a);


printf(":");


scanf("%d".&b)


if(a==b){


printf("a==b");


}


if(a<b){


printf("a<b");


}


if(a>b){

printf("a>b");


}


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'printf'
    9 | printf(":");
      | ^~~~~~
main.c:18:12: error: expected identifier before '&' token
   18 | scanf("%d".&b)
      |            ^
main.c:18:15: error: expected ';' before 'if'
   18 | scanf("%d".&b)
      |               ^
      |               ;
......
   21 | if(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{


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


}


return 0;


}

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

#include<stdio.h>

int main(void);

{

int a,b;

scanf("%d",&a);

scanf("%d",%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:5:1: error: expected identifier or '(' before '{' token
    5 | {
      | ^
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:14:42: error: expected ';' before '}' token
   14 |                         printf("a < b\n")
      |                                          ^
      |                                          ;
   15 |                 }
      |                 ~                         
main.c:18:42: error: expected ';' before '}' token
   18 |                         printf("a > b\n")
      |                                          ^
      |                                          ;
   19 |                 }
      |                 ~
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:18: error: invalid operands to binary & (have 'int *' and 'int')
    9 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

#include<stdio.h>

int main(void){


int a,b


 printf(":");


scanf("%d",&a);


 printf(":");


scanf("%d".&b)


if(a==b){


 printf("a==b");


}


if(a<b){


printf("a<b");


}


if(a>b){

printf("a>b");


}


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'printf'
    9 |  printf(":");
      |  ^~~~~~
main.c:18:12: error: expected identifier before '&' token
   18 | scanf("%d".&b)
      |            ^
main.c:18:15: error: expected ';' before 'if'
   18 | scanf("%d".&b)
      |               ^
      |               ;
......
   21 | if(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   {    printf("a > b\n")   }  }  return 0; }

Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #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; }
      |                   ^~~
main.c:1:190: warning: missing terminating " character
    1 | #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; }
      |                                                                                                                                                                                              ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>

int main(void){


int a,b;


 printf(":");


scanf("%d",&a);


 printf(":");


scanf("%d".&b)


if(a==b){


 printf("a==b");


}


if(a<b){


printf("a<b");


}


if(a>b){

printf("a>b");


}


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:18:12: error: expected identifier before '&' token
   18 | scanf("%d".&b)
      |            ^
main.c:18:15: error: expected ';' before 'if'
   18 | scanf("%d".&b)
      |               ^
      |               ;
......
   21 | if(a==b){
      | ~~
Language: C

#include<stdio.h>

int main(void){


int a,b;


 printf(":");


scanf("%d",&a);


 printf(":");


scanf("%d".&b)


if(a==b){


 printf("a==b");


}


if(a<b){


 printf("a<b");


}


if(a>b){

printf("a>b");


}


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:18:12: error: expected identifier before '&' token
   18 | scanf("%d".&b)
      |            ^
main.c:18:15: error: expected ';' before 'if'
   18 | scanf("%d".&b)
      |               ^
      |               ;
......
   21 | if(a==b){
      | ~~
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:13:22: error: stray '\' in program
   13 |         printf("a==b"\n);
      |                      ^
main.c:13:22: error: expected ')' before 'n'
   13 |         printf("a==b"\n);
      |               ~      ^~
      |                      )
Language: C



int main(void){


int a,b


printf(":");


scanf("%d",&a);


printf(":");


scanf("%d".&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:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'printf'
    9 | printf(":");
      | ^~~~~~
main.c:12:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   12 | scanf("%d",&a);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | 
main.c:12:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   12 | scanf("%d",&a);
      | ^~~~~
main.c:12:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:15:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   15 | printf(":");
      | ^~~~~~
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:15:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:18:12: error: expected identifier before '&' token
   18 | scanf("%d".&b)
      |            ^
main.c:18:15: error: expected ';' before 'if'
   18 | scanf("%d".&b)
      |               ^
      |               ;
......
   21 | if(a==b){
      | ~~
Language: C

#include<stdio.h>




int main (void)

{

    int a,b;

    scanf("%d\n",&a);

    scanf("%d\n",&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:33:17: error: expected ';' before '{' token
   33 |     else(a == b)
      |                 ^
      |                 ;
   34 | 
   35 |     {
      |     ~
Language: C

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

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

#include<stdio.h>




int main (void)

{

    int a,b;

    scanf("%d\n",&a);

    scanf("%d\n",&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:33:17: error: expected ';' before '{' token
   33 |     else(a == b)
      |                 ^
      |                 ;
   34 | 
   35 |     {
      |     ~
Language: C

#include<stdio.h>
int main(void)
{
int a,b;
if(a>b)
{printf("a>b");}
if(a<b)
{printf("a<b");}
else
{printf("a==b");}

return0;
}

Compiler output:
main.c: In function 'main':
main.c:12:1: error: 'return0' undeclared (first use in this function)
   12 | return0;
      | ^~~~~~~
main.c:12:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

return0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected expression before '%' token
    5 | scanf("%d %d",&a,%b);
      |                  ^
main.c:13:1: error: 'return0' undeclared (first use in this function)
   13 | return0;
      | ^~~~~~~
main.c:13:1: note: each undeclared identifier is reported only once for each function it appears in
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){


  prnitf("a=-b\n");

}


 return 0;


}


 

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

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

return0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected expression before '%' token
    5 | scanf("%d %d",&a,%b);
      |                  ^
main.c:11:1: error: expected '}' before 'else'
   11 | else
      | ^~~~
main.c:14:1: error: 'return0' undeclared (first use in this function)
   14 | return0;
      | ^~~~~~~
main.c:14:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void)


{


 int a,b;


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

 if(a<b){


   printf("a<b\n");


 }


 if(a>b){


  printf("a>b\n");


 }


 if(a==b){


  prnitf("a=-b\n");

}


 return 0;


}


 

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

#include<stdio.h>

int main(void)


{


 int a,b;


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

 if(a<b){


   printf("a<b\n");


 }


 if(a>b){


  printf("a>b\n");


 }


 if(a==b){


  prnitf("a=-b\n");

 }


 return 0;


}


 

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

incude<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);
		}
		printf("%d>%d\n",a,b);
	}
	return 0;
}

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

#include<stdio.h>




int main (void)


{


    int a,b;
	
	
    scanf("%d\n",&a);


    scanf("%d\n",&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:33:16: error: expected ';' before '{' token
   33 |     else(a > b)
      |                ^
      |                ;
......
   36 |     {
      |     ~
Language: C

#include<stdio.h>

int main(void)


{


 int a,b;


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

 if(a<b){


   printf("a < b\n");


 }


 if(a>b){


  printf("a > b\n");


 }


 if(a==b){


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

 }


 return 0;


}


 

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

#include<stdio.h>

int main(void)


{


 int a,b;


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

 if(a < b){


   printf("a < b\n");


 }


 if(a > b){


  printf("a > b\n");


 }


 if(a == b){


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

 }


 return 0;


}


 

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

#include<stdio.h>

int main (void)
{
	int a,b;

	scanf("%d\n",&a);

	scanf("%d\n",&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:20:20: error: expected ';' before '{' token
   20 |         else(a > b)
      |                    ^
      |                    ;
   21 | 
   22 |         {
      |         ~
Language: C

#include<stdio.h>

int main(void)


{


 int a,b;

 scanf("%d",&a);
 
 scanf("%d",&b);
 
 if(a < b){

   printf("a < b\n");

 }

 if(a > b){

  printf("a > b\n");

 }

 if(a == b){

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

 }

 return 0;

}


 

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

#include  <stdio.h>

int main(void)


{


 int a,b;

 scanf("%d",&a);
 
 scanf("%d",&b);
 
 if(a < b){

   printf("a < b\n");

 }

 if(a > b){

  printf("a > b\n");

 }

 if(a == b){

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

 }

 return 0;

}


 

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

#include	<stdio.h>
int	main(void)
{
	int	a,b;
	scanf("%d",&a);
	scanf("%d",&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:31: error: stray '\' in program
    8 |                 printf("a < b"\n);
      |                               ^
main.c:8:31: error: expected ')' before 'n'
    8 |                 printf("a < b"\n);
      |                       ~       ^~
      |                               )
main.c:11:31: error: stray '\' in program
   11 |                 printf("a > b"\n);
      |                               ^
main.c:11:31: error: expected ')' before 'n'
   11 |                 printf("a > b"\n);
      |                       ~       ^~
      |                               )
main.c:14:31: error: stray '\' in program
   14 |                 printf("a = b"\n);
      |                               ^
main.c:14:31: error: expected ')' before 'n'
   14 |                 printf("a = b"\n);
      |                       ~       ^~
      |                               )
Language: C

#include<stdio.h>
int main(void)
{
int a,b,d,r;
double f;
d = a/b;
r = a%b;
f = a/b;

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

printf("%d %d %4lf\n",d,r,f);
return0;
}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: 'return0' undeclared (first use in this function)
   13 | return0;
      | ^~~~~~~
main.c:13:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include  <stdio.h>

int main(void)


{


int a,b;

scanf("%d",&a);
 
scanf("%d",&b);
 
if(a < b){

 printf("a < b\n");

}

if(a > b){

 printf("a > b\n");

}

if(a == b){

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

}

return 0;

}


 

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

#include  <stdio.h>

int main(void)


{


 int a,b;

 scanf("%d",&a);
 
 scanf("%d",&b);
 
 if(a < b){

   printf("a < b\n");

 }

 if(a > b){

   printf("a > b\n");

 }

 if(a == b){

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

 }

 return 0;

}


 

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

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

Compiler output:
main.c:14:9: error: expected identifier or '(' before 'else'
   14 |         else{printf("a > b\n");
      |         ^~~~
main.c:16:9: error: expected identifier or '(' before 'return'
   16 |         return 0;
      |         ^~~~~~
main.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
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){

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

 }

 return 0;

}

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

#include <stdio.h>

int main (void)

{  int a,b;

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

 if(a < b)  

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

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

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

 return 0;

} 

Compiler output:
main.c: In function 'main':
main.c:15:2: error: 'else' without a previous 'if'
   15 |  else{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{
   printf("a == b\n");  }  

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

 return 0;

} 

Compiler output:
main.c: In function 'main':
main.c:16:2: error: 'else' without a previous 'if'
   16 |  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");
}
        else{
              printf("a==b\n");
} 
       else{}
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:8: error: 'else' without a previous 'if'
   16 |        else{}
      |        ^~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a,b,x,y;
	
	scanf("%d %d\n",&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);
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:31: error: stray '\' in program
   11 |                 printf("a < b"\n);
      |                               ^
main.c:11:31: error: expected ')' before 'n'
   11 |                 printf("a < b"\n);
      |                       ~       ^~
      |                               )
main.c:15:31: error: stray '\' in program
   15 |                 printf("a > b"\n);
      |                               ^
main.c:15:31: error: expected ')' before 'n'
   15 |                 printf("a > b"\n);
      |                       ~       ^~
      |                               )
main.c:19:32: error: stray '\' in program
   19 |                 printf("a == b"\n);
      |                                ^
main.c:19:32: error: expected ')' before 'n'
   19 |                 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 (a<b) printf("a < b\n");
	
	return 0;
}

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

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

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

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

/* 201604270750 */

#include<stdio.h>
main(void)
{
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 if ( a == b) printf("%d == %d\n",a,b);

return 0;
]

Compiler output:
main.c:4:1: error: return type defaults to 'int' [-Wimplicit-int]
    4 | main(void)
      | ^~~~
main.c: In function 'main':
main.c:13:1: error: expected statement before ']' token
   13 | ]
      | ^
main.c:13:1: error: expected declaration or statement at end of input
Language: C

#include <stdioi.h>
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;
}

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

#include <stdio.h>

int main(void) {
if(a<b)
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:4: error: 'a' undeclared (first use in this function)
    4 | if(a<b)
      |    ^
main.c:4:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:6: error: 'b' undeclared (first use in this function)
    4 | if(a<b)
      |      ^
Language: C

#include <stdio.h>

int main(void) {
if(a<b)
printf(%d)
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:4: error: 'a' undeclared (first use in this function)
    4 | if(a<b)
      |    ^
main.c:4:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:6: error: 'b' undeclared (first use in this function)
    4 | if(a<b)
      |      ^
main.c:5:8: error: expected expression before '%' token
    5 | printf(%d)
      |        ^
main.c:5:11: error: expected ';' before 'return'
    5 | printf(%d)
      |           ^
      |           ;
    6 | return 0;
      | ~~~~~~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:21:19: error: expected ';' before '{' token
   21 |         else (a=b)
      |                   ^
      |                   ;
   22 | 
   23 |         {
      |         ~
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:11:29: error: stray '\' in program
   11 |                 printf("a<b"\n);
      |                             ^
main.c:11:29: error: expected ')' before 'n'
   11 |                 printf("a<b"\n);
      |                       ~     ^~
      |                             )
main.c:17:29: error: stray '\' in program
   17 |                 printf("a>b"\n);
      |                             ^
main.c:17:29: error: expected ')' before 'n'
   17 |                 printf("a>b"\n);
      |                       ~     ^~
      |                             )
main.c:20:19: error: expected ';' before '{' token
   20 |         else (a=b)
      |                   ^
      |                   ;
   21 | 
   22 |         {
      |         ~          
main.c:23:30: error: stray '\' in program
   23 |                 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 (a==b)
	
	{
		printf("a==b"\n);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:29: error: stray '\' in program
   11 |                 printf("a<b"\n);
      |                             ^
main.c:11:29: error: expected ')' before 'n'
   11 |                 printf("a<b"\n);
      |                       ~     ^~
      |                             )
main.c:17:29: error: stray '\' in program
   17 |                 printf("a>b"\n);
      |                             ^
main.c:17:29: error: expected ')' before 'n'
   17 |                 printf("a>b"\n);
      |                       ~     ^~
      |                             )
main.c:20:20: error: expected ';' before '{' token
   20 |         else (a==b)
      |                    ^
      |                    ;
   21 | 
   22 |         {
      |         ~           
main.c:23:30: error: stray '\' in program
   23 |                 printf("a==b"\n);
      |                              ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:13:29: error: stray '\' in program
   13 |                 printf("a<b"\n);
      |                             ^
main.c:13:29: error: expected ')' before 'n'
   13 |                 printf("a<b"\n);
      |                       ~     ^~
      |                             )
main.c:21:29: error: stray '\' in program
   21 |                 printf("a>b"\n);
      |                             ^
main.c:21:29: error: expected ')' before 'n'
   21 |                 printf("a>b"\n);
      |                       ~     ^~
      |                             )
main.c:24:20: error: expected ';' before '{' token
   24 |         else (a==b)
      |                    ^
      |                    ;
   25 | 
   26 |         {
      |         ~           
main.c:29:30: error: stray '\' in program
   29 |                 printf("a==b"\n);
      |                              ^
Language: C

#include <stdio.h>

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

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

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

	return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
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:12:20: error: expected ';' before 'printf'
   12 |         else(a > b)
      |                    ^
      |                    ;
   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");
}

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:19:15: error: stray '\' in program
   19 | printf("a > b"\n);
      |               ^
main.c:19:15: error: expected ')' before 'n'
   19 | printf("a > b"\n);
      |       ~       ^~
      |               )
Language: C

#include <stdio.h>

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

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

#include <stdio.h>

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

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

#include <stdio.h>

int main()
int alpha,bravo;

scanf("%d %d",alpha,bravo);

if(alpha==bravo)
{
printf(" %d ==%d\n",alpha,bravo);
}else if(alpha < bravo){
printf(" %d < %d\n",alpha,bravo);
}else
printf("%d > %d\n",alpha,bravo);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",alpha,bravo);
      | ^~~~~
main.c:8:1: error: expected declaration specifiers before 'if'
    8 | if(alpha==bravo)
      | ^~
main.c:11:2: error: expected declaration specifiers before 'else'
   11 | }else if(alpha < bravo){
      |  ^~~~
main.c:13:2: error: expected declaration specifiers before 'else'
   13 | }else
      |  ^~~~
main.c:15:1: error: expected declaration specifiers before 'return'
   15 | return 0;
      | ^~~~~~
main.c:16:1: error: expected declaration specifiers before '}' token
   16 | }
      | ^
main.c:4:11: error: declaration for parameter 'bravo' but no such parameter
    4 | int alpha,bravo;
      |           ^~~~~
main.c:4:5: error: declaration for parameter 'alpha' but no such parameter
    4 | int alpha,bravo;
      |     ^~~~~
main.c:17: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main()
{
int a,b;

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

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

Compiler output:
main.c: In function 'main':
main.c:9:4: error: 'alpha' undeclared (first use in this function)
    9 | if(alpha==bravo)
      |    ^~~~~
main.c:9:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:11: error: 'bravo' undeclared (first use in this function)
    9 | if(alpha==bravo)
      |           ^~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:11:12: error: 'o' undeclared (first use in this function)
   11 |     return o;
      |            ^
main.c:11:12: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(){
    int a,b;
    scanf("%d %d", &a, &b);

    if (a==b) then{
        puts("a == b");
    }else{
        if (a<b) then{
            puts("a < b");
        }else{
            puts("a > b");
        }
    }

    return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:8:17: error: stray '\' in program
    8 |     printf("a>b"\n");
      |                 ^
main.c:8:17: error: expected ')' before 'n'
    8 |     printf("a>b"\n");
      |           ~     ^~
      |                 )
main.c:8:19: warning: missing terminating " character
    8 |     printf("a>b"\n");
      |                   ^
main.c:8:19: error: missing terminating " character
    8 |     printf("a>b"\n");
      |                   ^~~
main.c:11:16: 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");
	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:24: error: invalid operands to binary & (have 'int *' and 'int')
    9 |         scanf("%d%d",&a&b);
      |                      ~~^
      |                      |
      |                      int *
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:5:24: error: invalid operands to binary & (have 'int *' and 'int')
    5 |         scanf("%d%d",&a&b);
      |                      ~~^
      |                      |
      |                      int *
Language: C

#include <stdio.h>
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:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:3:1: error: expected expression before '?' token
    3 | ??????
      | ^
main.c:5:1: error: expected expression before '?' token
    5 | ??????
      | ^
main.c:6:19: error: 'a' undeclared (first use in this function)
    6 | ????scanf("%d%d",&a,&b);
      |                   ^
main.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:22: error: 'b' undeclared (first use in this function)
    6 | ????scanf("%d%d",&a,&b);
      |                      ^
main.c:7:1: error: expected expression before '?' token
    7 | ??????
      | ^
main.c:9:1: error: expected expression before '?' token
    9 | ????else if(a > b) printf("a > b\n");
      | ^
main.c:10:1: error: expected expression before '?' token
   10 | ????else printf("a == b\n");
      | ^
main.c:11:1: error: expected expression before '?' token
   11 | ??????
      | ^
Language: C

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

  scanf("%d %d", &a, &b);
  if(a < b)
    print("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:5: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |     print("a < b");
      |     ^~~~~
      |     printf
Language: C

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

  scanf("%d %d", &a, &b);
  if(a < b)
    print("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:5: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |     print("a < b");
      |     ^~~~~
      |     printf
Language: C

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

  scanf("%d %d", &a, &b);
  if(a < b)
    print("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 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |     print("a < b\n");
      |     ^~~~~
      |     printf
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:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
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:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
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:20:1: error: expected declaration or statement at end of input
   20 | }
      | ^
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);
	else
	printf(" a == b\n", a, b);
	return 0;
}

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

#include<stdio.h>

int main(void)[
    int x,y;
    printf("a:");
    scanf("%d",&a);
    printf("b:");
    scanf("%d",&b);
    if(a < b)
       puts("a < b");
    else if(a > b)
       puts("a > b");
    else
       puts("a == b");
    return 0;
}

Compiler output:
main.c:4:5: error: expected expression before 'int'
    4 |     int x,y;
      |     ^~~
Language: C

#include<stdio.h>

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

Compiler output:
main.c:4:5: error: expected expression before 'int'
    4 |     int x,y;
      |     ^~~
Language: C

#include<stdio.h>

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

Compiler output:
main.c:4:5: error: expected expression before 'int'
    4 |     int x,y;
      |     ^~~