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[
		printf("a == b\n");
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:13: error: expected expression before '[' token
   11 |         else[
      |             ^
main.c:12:36: error: expected ';' before '}' token
   12 |                 printf("a == b\n");
      |                                    ^
      |                                    ;
   13 |         }
      |         ~                           
main.c: At top level:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
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:11:13: error: expected expression before '[' token
   11 |         else[
      |             ^
main.c:12:36: error: expected ';' before '}' token
   12 |                 printf("a == b\n");
      |                                    ^
      |                                    ;
   13 |         }
      |         ~                           
main.c: At top level:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
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:10:30: error: expected ';' before '}' token
   10 |                 printf("a=b")
      |                              ^
      |                              ;
   11 |         }
      |         ~
Language: C

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


Compiler output:
main.c:14:5: error: expected identifier or '(' before 'return'
   14 |     return 0;
      |     ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'char *' and 'int')
    4 |     scanf("%d,%d"&a,&b);
      |           ~~~~~~~^
      |           |
      |           char *
main.c: At top level:
main.c:13:5: error: expected identifier or '(' before 'return'
   13 |     return 0;
      |     ^~~~~~
main.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^
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:13:5: error: expected identifier or '(' before 'return'
   13 |     return 0;
      |     ^~~~~~
main.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:24: error: expected ';' before '}' token
    6 |         printf("a > b")
      |                        ^
      |                        ;
    7 |     } else if (a<b) {
      |     ~                   
main.c:8:24: error: expected ';' before '}' token
    8 |         printf("a < b")
      |                        ^
      |                        ;
    9 |     } else {
      |     ~                   
main.c:10:25: error: expected ';' before '}' token
   10 |         printf("a == b")
      |                         ^
      |                         ;
   11 |     }
      |     ~
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 {
        printf("a < b");
    }
   return 0;
}


Compiler output:
main.c:1:10: fatal error: studio.h: No such file or directory
    1 | #include <studio.h>
      |          ^~~~~~~~~~
compilation terminated.
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:3:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 |     int a b;
      |           ^
main.c:3:11: error: 'b' undeclared (first use in this function)
main.c:3:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:20: error: 'a' undeclared (first use in this function)
    4 |     scanf("%d %d",&a,&b);
      |                    ^
Language: C

#include <stdio.h>
int main(){
    int a>=-1000;
    int b<=1000;
    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:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '>=' token
    3 |     int a>=-1000;
      |          ^~
main.c:3:10: error: expected expression before '>=' token
main.c:4:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    4 |     int b<=1000;
      |          ^~
main.c:4:10: error: expected expression before '<=' token
main.c:5:20: error: 'a' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:23: error: 'b' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                       ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:13: error: assignment to expression with array type
    7 |         str = " < "
      |             ^
main.c:7:20: error: expected ';' before '}' token
    7 |         str = " < "
      |                    ^
      |                    ;
    8 |     }else if(a > b){
      |     ~               
main.c:9:13: error: assignment to expression with array type
    9 |         str = " > "
      |             ^
main.c:9:20: error: expected ';' before '}' token
    9 |         str = " > "
      |                    ^
      |                    ;
   10 |     }else{
      |     ~               
main.c:11:13: error: assignment to expression with array type
   11 |         str = " == "
      |             ^
main.c:11:21: error: expected ';' before '}' token
   11 |         str = " == "
      |                     ^
      |                     ;
   12 |     }
      |     ~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:13: error: assignment to expression with array type
    7 |         str = " < ";
      |             ^
main.c:9:13: error: assignment to expression with array type
    9 |         str = " > ";
      |             ^
main.c:11:13: error: assignment to expression with array type
   11 |         str = " == ";
      |             ^
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 { 
    printf("a == b");
  }
  return 0;
}



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



Compiler output:
main.c: In function 'main':
main.c:4:23: error: expected expression before ')' token
    4 | scanf("%d %d", &a, &b,);
      |                       ^
main.c:6:20: error: expected ';' before '}' token
    6 |     printf("a < b")
      |                    ^
      |                    ;
    7 |   }else if(a > b){
      |   ~                 
main.c:8:20: error: expected ';' before '}' token
    8 |     printf("a > b")
      |                    ^
      |                    ;
    9 |   }else {
      |   ~                 
main.c:10:21: error: expected ';' before '}' token
   10 |     printf("a == b")
      |                     ^
      |                     ;
   11 |   }
      |   ~
Language: C

#include <stdio.h>

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

    if{
       a > b
       printf("a > b");}

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected '(' before '{' token
    8 |     if{
      |       ^
      |       (
Language: C

#include <stdio.h>

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

    if{
       (a > b);
       printf("a > b");}

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected '(' before '{' token
    8 |     if{
      |       ^
      |       (
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:4:23: error: expected expression before ')' token
    4 | scanf("%d %d", &a, &b,);
      |                       ^
Language: C

#include <stdio.h>

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

    if{
       (a/b);
       printf("a > b");}

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected '(' before '{' token
    8 |     if{
      |       ^
      |       (
Language: C

#include<stdio.h>

int main()
{
  int a,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:1: error: expected declaration or statement at end of input
   18 | }
      | ^
main.c:18:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>

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

    if(a > b)
       printf("a > b");
    else if(b > a)
       printf("b > a");
    else if(a == b)
       printf("a == b;

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:15: warning: missing terminating " character
   13 |        printf("a == b;
      |               ^
main.c:13:15: error: missing terminating " character
   13 |        printf("a == b;
      |               ^~~~~~~~
main.c:15:5: error: expected expression before 'return'
   15 |     return 0;
      |     ^~~~~~
main.c:15:14: error: expected ';' before '}' token
   15 |     return 0;
      |              ^
      |              ;
   16 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  int a,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:1: error: expected declaration or statement at end of input
   18 | }
      | ^
main.c:18:1: error: expected declaration or statement at end of input
Language: C

#include<stdio.h>

int main()
{
  int a,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:1: error: expected declaration or statement at end of input
   18 | }
      | ^
main.c:18:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  if(a=b)
     puts("%d=%d\n, a,b);
  else
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:21: error: expected expression before '%' token
    7 |    scanf("%d\n", &a,%b);
      |                     ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

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



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



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

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  if(a=b)
     puts("%d=%d\n, a,b);
  else
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

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

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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:15: warning: missing terminating " character
   13 |        printf("a == b;}
      |               ^
main.c:13:15: error: missing terminating " character
   13 |        printf("a == b;}
      |               ^~~~~~~~~
main.c:15:5: error: expected expression before 'return'
   15 |     return 0;
      |     ^~~~~~
main.c:15:14: error: expected ';' before '}' token
   15 |     return 0;
      |              ^
      |              ;
   16 | }
      | ~             
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  else if(a=b)
     puts("%d=%d\n, a,b);
  else if
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else if
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  else if(a==b)
     puts("%d=%d\n, a,b);
  else if
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d=%d\n, a,b);
      |           ^~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else if
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  else if(a==b)
     puts("%d==%d\n, a,b);
  else if
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^~~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else if
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  else if(a=b)
     puts("%d==%d\n, a,b);
  else if
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^~~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else if
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if(a>b)
     puts("%d>%d\n", a,b);
  else if(a=b)
     puts("%d==%d\n, a,b);
  else
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^~~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a>b)
     puts("%d>%d\n", a,b);
  else if (a==b)
     puts("%d==%d\n, a,b);
  else
     puts("%d<%d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d>%d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d==%d\n, a,b);
      |           ^~~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a > b)
     puts("%d > %d\n", a,b);
  else if (a == b)
     puts("%d == %d\n, a,b);
  else
     puts("%d < %d\n",a,b);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:10:6: error: too many arguments to function 'puts'
   10 |      puts("%d > %d\n", a,b);
      |      ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d == %d\n, a,b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d == %d\n, a,b);
      |           ^~~~~~~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  scanf("%d",a , b)
  int 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:5:14: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d",a , b)
      |              ^
main.c:5:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:18: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d",a , b)
      |                  ^
main.c:5:20: error: expected ';' before 'int'
    5 |   scanf("%d",a , b)
      |                    ^
      |                    ;
    6 |   int a , b;
      |   ~~~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a > b)
     puts("%d > %d\n");
  else if (a == b)
     puts("%d == %d\n);
  else
     puts("%d < %d\n");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d == %d\n);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d == %d\n);
      |           ^~~~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  scanf("%d",a , b);
  int 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:5:14: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d",a , b);
      |              ^
main.c:5:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:18: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d",a , b);
      |                  ^
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a > b)
     puts("%d > %d");
  else if (a == b)
     puts("%d == %d);
  else
     puts("%d < %d");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:12:11: warning: missing terminating " character
   12 |      puts("%d == %d);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("%d == %d);
      |           ^~~~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  scanf("%d",a  b);
  int 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:5:14: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d",a  b);
      |              ^
main.c:5:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:15: error: expected ')' before 'b'
    5 |   scanf("%d",a  b);
      |        ~      ^ ~
      |               )
Language: C

#include<stdio.h>

int main()
{
  int a , b;
  scanf("%d,%d\n" &a,&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:6:19: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d,%d\n" &a,&b);
      |         ~~~~~~~~~ ^
      |         |
      |         char *
Language: C

#include <stdio.h>

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

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

    return 0;
}




Compiler output:
main.c: In function 'main':
main.c:13:15: warning: missing terminating " character
   13 |        printf("a == b);
      |               ^
main.c:13:15: error: missing terminating " character
   13 |        printf("a == b);
      |               ^~~~~~~~~
main.c:14:5: error: expected expression before '}' token
   14 |     }
      |     ^
main.c:13:15: error: expected ';' before '}' token
   13 |        printf("a == b);
      |               ^
      |               ;
   14 |     }
      |     ~
Language: C

#include<stdio.h>

int main()
{
  int a , b;
  scanf("%d,%d" &a,&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:6:17: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d,%d" &a,&b);
      |         ~~~~~~~ ^
      |         |
      |         char *
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:12:11: warning: missing terminating " character
   12 |      puts("a == b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("a == b);
      |           ^~~~~~~~~
main.c:13:3: error: expected expression before 'else'
   13 |   else
      |   ^~~~
main.c:16:14: error: expected ';' before '}' token
   16 |     return 0;
      |              ^
      |              ;
   17 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  scanf("%d",&a , &b);
  int 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:5:15: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d",&a , &b);
      |               ^
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:20: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d",&a , &b);
      |                    ^
Language: C

#include<stdio.h>

int main()
{
  int a , b;
  scanf("%d,%d" &a,&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:6:17: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d,%d" &a,&b);
      |         ~~~~~~~ ^
      |         |
      |         char *
Language: C

#include<stdio.h>

int main()
{
  int a , b;
  scanf("%d\n" &a,&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:6:16: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d\n" &a,&b);
      |         ~~~~~~ ^
      |         |
      |         char *
Language: C

#include<stdio.h>

int main()
{
  scanf("%d\n",&a , &b);
  int 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:5:17: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d\n",&a , &b);
      |                 ^
main.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:22: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d\n",&a , &b);
      |                      ^
Language: C

#include<stdio.h>

int main()
{
  int a , b;
  scanf("%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: In function 'main':
main.c:6:16: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d\n" &a,&b);
      |         ~~~~~~ ^
      |         |
      |         char *
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a>b)
     puts("a > b");
  else if (a==b)
     puts("a == b);

  else
     puts("a < b");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected expression before '%' token
    7 |    scanf("%d %d\n", &a,%b);
      |                        ^
main.c:12:11: warning: missing terminating " character
   12 |      puts("a == b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("a == b);
      |           ^~~~~~~~~
main.c:14:3: error: expected expression before 'else'
   14 |   else
      |   ^~~~
main.c:17:14: error: expected ';' before '}' token
   17 |     return 0;
      |              ^
      |              ;
   18 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
   int a,b;

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

  if (a>b)
     puts("a > b");
  else if (a==b)
     puts("a == b);

  else
     puts("a < b");

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:11: warning: missing terminating " character
   12 |      puts("a == b);
      |           ^
main.c:12:11: error: missing terminating " character
   12 |      puts("a == b);
      |           ^~~~~~~~~
main.c:14:3: error: expected expression before 'else'
   14 |   else
      |   ^~~~
main.c:17:14: error: expected ';' before '}' token
   17 |     return 0;
      |              ^
      |              ;
   18 | }
      | ~
Language: C

#include<stdio.h>

int main()
{
  scanf("%d %d\n",&a , &b);
  int 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:5:20: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d %d\n",&a , &b);
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:25: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d %d\n",&a , &b);
      |                         ^
Language: C

#include <stdio.h>

int main(void)
{
    int a, b;
    scanf("%d\n" ,&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:19: error: stray '\' in program
    9 |     printf("a < b"\n);}
      |                   ^
main.c:9:19: error: expected ')' before 'n'
    9 |     printf("a < b"\n);}
      |           ~       ^~
      |                   )
main.c:12:19: error: stray '\' in program
   12 |     printf("a > b"\n);}
      |                   ^
main.c:12:19: error: expected ')' before 'n'
   12 |     printf("a > b"\n);}
      |           ~       ^~
      |                   )
main.c:15:20: error: stray '\' in program
   15 |     printf("a == b"\n);}
      |                    ^
main.c:15:20: error: expected ')' before 'n'
   15 |     printf("a == b"\n);}
      |           ~        ^~
      |                    )
main.c: At top level:
main.c:19:1: error: stray '\343' in program
   19 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:19:3: error: stray '\343' in program
   19 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int main(void)
{
    int a, b;
    scanf("%d\n" ,&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:19:1: error: stray '\343' in program
   19 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:19:3: error: stray '\343' in program
   19 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

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

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

    return 0;
}
　　  


Compiler output:
main.c:19:1: error: stray '\343' in program
   19 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:19:3: error: stray '\343' in program
   19 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

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


Compiler output:
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>
      |         ^~~~~~~~
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 {  
   printf("a == b")
 }  
 return 0;

}



Compiler output:
main.c: In function 'main':
main.c:8:19: error: expected ';' before '}' token
    8 |    printf("a > b")
      |                   ^
      |                   ;
    9 |  } else {
      |  ~                 
main.c:10:20: error: expected ';' before '}' token
   10 |    printf("a == b")
      |                    ^
      |                    ;
   11 |  }
      |  ~
Language: C

#include <iostream>
#include <cstdio>
using namespace std;

int main(void){
    int a,b;
    cin >> a;
    cin >> b;
   if(a<b){
       cout << "a < b";
   }
   else if(a<b){
       cout << "a > b"; 
   }
   else{
       cout << "a == b";
   }
    
    cout << endl;


    // Your code here!
    
}



Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
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");
elese printf("a==b\n");
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:1: error: unknown type name 'elese'
    7 | elese printf("a==b\n");
      | ^~~~~
main.c:7:14: error: expected declaration specifiers or '...' before string constant
    7 | elese printf("a==b\n");
      |              ^~~~~~~~
Language: C

#include <stdio.h>
int 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(a == b){
	printf("%d == %d\n",a,b);}
	return 0;
}


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


Compiler output:
main.c: In function 'main':
main.c:7:5: error: expected '}' before 'else'
    7 |     else if(a>b){printf("%d>%d",a,b);
      |     ^~~~
main.c:8:5: error: expected '}' before 'else'
    8 |     else if(a=b){printf("%d=%d",a,b);
      |     ^~~~
main.c: At top level:
main.c:9:7: error: expected identifier or '(' before '}' token
    9 |     }}}
      |       ^
main.c:11:5: error: expected identifier or '(' before 'return'
   11 |     return 0;
      |     ^~~~~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | }
      | ^
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:28: error: expected ';' before '}' token
    6 | if(a > b){printf("a > b\n")};
      |                            ^
      |                            ;
main.c:7:1: error: 'else' without a previous 'if'
    7 | else if(a < b){printf("a < b\n")};
      | ^~~~
main.c:7:33: error: expected ';' before '}' token
    7 | else if(a < b){printf("a < b\n")};
      |                                 ^
      |                                 ;
main.c:8:1: error: 'else' without a previous 'if'
    8 | else{printf("a == b\n")};
      | ^~~~
main.c:8:24: error: expected ';' before '}' token
    8 | 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")};
else if(a < b){printf("a < b")};
else{printf("a == b\n")};
return 0;
}



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

   return 0;
}



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

#include<stdio.h>
int main( void ){
   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:3:10: error: expected expression before '%' token
    3 |    scanf(%d%d, &a, &b);
      |          ^
main.c:4:7: error: 'a' undeclared (first use in this function)
    4 |    if(a > b) printf("a > b\n");
      |       ^
main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:11: error: 'b' undeclared (first use in this function)
    4 |    if(a > b) 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:4:28: error: expected expression before ')' token
    4 |         scanf("%d%d",&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);
    eise
    printf("%d=%d\n",a,b);
    return 0;
}




Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected '(' before 'a'
    5 |     if a<b;
      |        ^
      |        (
main.c:7:5: error: 'else' without a previous 'if'
    7 |     else if a>b;
      |     ^~~~
main.c:7:13: error: expected '(' before 'a'
    7 |     else if a>b;
      |             ^
      |             (
main.c:9:5: error: unknown type name 'eise'
    9 |     eise
      |     ^~~~
main.c:10:12: error: expected declaration specifiers or '...' before string constant
   10 |     printf("%d=%d\n",a,b);
      |            ^~~~~~~~~
main.c:10:22: error: expected declaration specifiers or '...' before 'a'
   10 |     printf("%d=%d\n",a,b);
      |                      ^
main.c:10:24: error: expected declaration specifiers or '...' before 'b'
   10 |     printf("%d=%d\n",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);
    eise
    printf("%d==%d\n",a,b);
    return 0;
}




Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected '(' before 'a'
    5 |     if a<b;
      |        ^
      |        (
main.c:7:5: error: 'else' without a previous 'if'
    7 |     else if a>b;
      |     ^~~~
main.c:7:13: error: expected '(' before 'a'
    7 |     else if a>b;
      |             ^
      |             (
main.c:9:5: error: unknown type name 'eise'
    9 |     eise
      |     ^~~~
main.c:10:12: error: expected declaration specifiers or '...' before string constant
   10 |     printf("%d==%d\n",a,b);
      |            ^~~~~~~~~~
main.c:10:23: error: expected declaration specifiers or '...' before 'a'
   10 |     printf("%d==%d\n",a,b);
      |                       ^
main.c:10:25: error: expected declaration specifiers or '...' before 'b'
   10 |     printf("%d==%d\n",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); 

    elseif a<b;

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

    elseif a=b;

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

    endif

    return 0;


Compiler output:
main.c: In function 'main':
main.c:7:18: error: invalid operands to binary & (have 'char *' and 'int')
    7 |     scanf("%d,%d"&a,b);
      |           ~~~~~~~^
      |           |
      |           char *
main.c:9:8: error: expected '(' before 'a'
    9 |     if a>b;
      |        ^
      |        (
main.c:11:27: error: expected ')' before 'a'
   11 |         printf("%d > %d\n"a,b);
      |               ~           ^
      |                           )
main.c:13:5: error: unknown type name 'elseif'
   13 |     elseif a<b;
      |     ^~~~~~
main.c:13:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   13 |     elseif a<b;
      |             ^
main.c:15:27: error: expected ')' before 'a'
   15 |         printf("%d < %d\n"a,b);
      |               ~           ^
      |                           )
main.c:17:5: error: unknown type name 'elseif'
   17 |     elseif a=b;
      |     ^~~~~~
main.c:17:12: error: redeclaration of 'a' with no linkage
   17 |     elseif a=b;
      |            ^
main.c:5:9: note: previous declaration of 'a' with type 'int'
    5 |     int a,b;
      |         ^
main.c:19:27: error: expected ')' before 'a'
   19 |         printf("%d = %d\n"a,b);
      |               ~           ^
      |                           )
main.c:21:5: error: 'endif' undeclared (first use in this function)
   21 |     endif
      |     ^~~~~
main.c:21:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:10: error: expected ';' before 'return'
   21 |     endif
      |          ^
      |          ;
   22 | 
   23 |     return 0;
      |     ~~~~~~
main.c:23:5: error: expected declaration or statement at end of input
   23 |     return 0;
      |     ^~~~~~