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

import java. util.Scanner;

public class Enshu1{
	public static void main(String[]args){
	    Scanner sc = new Scanner(System.in);
	    int a = sc.nextInt();
	    int b = sc.nextInt();
	    if(a<b){
	      System.out.println("a < b");
	      }else if (a==b){
	      System.out.println("a == b");
	      }else{
	      System.out.println("a > b");
	      }
	    }
	}

Compiler output:
Main.java:3: error: class Enshu1 is public, should be declared in a file named Enshu1.java
public class Enshu1{
       ^
1 error
Language: Java

class P10003 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        try{
             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
             String[] str = br.readLine().split(" ");
             int num1 = Integer.parseInt(str[0]);
             int num2 = Integer.parseInt(str[1]);
             if(num1 > num2){
                 System.out.println("a > b");
             }
             else if(num1 < num2){
                 System.out.println("a < b");
             }
             else{
                 System.out.println("a == b");
             }
        }
        catch(Exception e){
            e.printStackTrace();
        }
    }

}

Compiler output:
Main.java:9: error: cannot find symbol
             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
             ^
  symbol:   class BufferedReader
  location: class P10003
Main.java:9: error: cannot find symbol
             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                     ^
  symbol:   class BufferedReader
  location: class P10003
Main.java:9: error: cannot find symbol
             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                                        ^
  symbol:   class InputStreamReader
  location: class P10003
3 errors
Language: Java

class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int a = 0, b = 0;
		try{
			a = Integer.valueOf(input.next());
			b = Integer.valueOf(input.next());
		}catch(Exception e){
			System.out.println("¦ç[");
		}
		System.out.print(a);
		if(a > b){
			System.out.print(" > ");
		}else if(a < b){
			System.out.print(" < ");
		}else{
			System.out.print(" == ");
		}
		System.out.println(b);
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner input = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner input = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.*;
import java.util.*;

public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);
		String s = r.readLine();
		StringTokenizer t = new StringTokenizer(s," ");
		int a,b;
		a = Integer.parseInt(t.nextToken().toString());
		b = Integer.parseInt(t.nextToken().toString());
		if a<b {
			System.out.println("a < b");
		} else if a>b
			System.out.println("a > b");
		} else {
			System.out.println("a == b");
		}

	}
}

Compiler output:
Main.java:12: error: '(' expected
		if a<b {
		  ^
Main.java:12: error: ')' expected
		if a<b {
		      ^
Main.java:14: error: '(' expected
		} else if a>b
		         ^
Main.java:14: error: ')' expected
		} else if a>b
		             ^
Main.java:16: error: illegal start of type
		} else {
		  ^
Main.java:21: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

import java.util.*;

public class SmallLargeEqual{

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String input = sc.nextLine();
		String[] inputArray = input.split(" ");

		if(inputArray.length == 2){
			int a = Integer.parseInt(inputArray[0]);
			int b = Integer.parseInt(inputArray[1]);
			if(a < b){
				System.out.println("a < b");
			}
			else if(b < a){
				System.out.println("a > b");
			}
			else if(a == b){
				System.out.println("a == b");
			}
		}
		else{
			System.out.println("ツ青ョツ青板づーツ２ツづつ禿シツ療債つオツづつュツつセツつウツつ「");
		}
	}
}

Compiler output:
Main.java:3: error: class SmallLargeEqual is public, should be declared in a file named SmallLargeEqual.java
public class SmallLargeEqual{
       ^
1 error
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args) { 
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    if(a<b){
      System.out.println("a < b");
    else{
      if(a > b){
        System.out.println("a > b");
      }else{
        System.out.println("a == b");
      }
    }
  }
}

Compiler output:
Main.java:10: error: 'else' without 'if'
    else{
    ^
Main.java:18: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.*;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt(), b = in.nextInt();
PrintWriter o = System.out;
if(a > b) o.println("a > b");
else if(a<b)  o.println("a < b");
else  o.println("a == b");
}}

Compiler output:
Main.java:6: error: cannot find symbol
PrintWriter o = System.out;
^
  symbol:   class PrintWriter
  location: class Main
1 error
Language: Java

import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt(), b = in.nextInt();
PrintWriter o = System.out;
if(a > b) o.println("a > b");
else if(a<b)  o.println("a < b");
else  o.println("a == b");
}}

Compiler output:
Main.java:7: error: incompatible types: PrintStream cannot be converted to PrintWriter
PrintWriter o = System.out;
                      ^
1 error
Language: Java

import java.util.Scanner;
public class Main
        public static void main(String args[]){
                int a,b;
                Scanner in =new Scanner(System.in);
                a=in.nextInt();
                b=in.nextInt();
                if(a<b)System.out.println("a < b");
                else if(a>b)System.out.println("a > b");
                else System.out.println("a == b");
        }
}

Compiler output:
Main.java:2: error: '{' expected
public class Main
                 ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
        public static void main(String args[]){
                      ^
  (use --enable-preview to enable unnamed classes)
Main.java:12: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

import java.util.Scanner;
public class aoj10003 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a,b;
		a=sc.nextInt();
		b=sc.nextInt();
		if(a<b){
			System.out.println("a<b");
		}else if(a>b){
			System.out.println("a>b");
		}else{
			System.out.println("a==b");
		}
	}
}

Compiler output:
Main.java:2: error: class aoj10003 is public, should be declared in a file named aoj10003.java
public class aoj10003 {
       ^
1 error
Language: Java

public class MAIN {
	public void main(String[] args) throws IOException{
		int a,b;

		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

		String s = buf.readLine();
		String[] st = s.split(" ");

		a = Integer.parseInt(st[0]);
		b = Integer.parseInt(st[1]);

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

		System.out.println(s);
	}
}

Compiler output:
Main.java:1: error: class MAIN is public, should be declared in a file named MAIN.java
public class MAIN {
       ^
Main.java:2: error: cannot find symbol
	public void main(String[] args) throws IOException{
	                                       ^
  symbol:   class IOException
  location: class MAIN
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class MAIN
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		                         ^
  symbol:   class BufferedReader
  location: class MAIN
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		                                            ^
  symbol:   class InputStreamReader
  location: class MAIN
5 errors
Language: Java

class Main{
    public static void main(String[] a)throws IOException{
		int a,b;

		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

		String s = buf.readLine();
		String[] st = s.split(" ");

		a = Integer.parseInt(st[0]);
		b = Integer.parseInt(st[1]);

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

		System.out.println(s);
    }
}

Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(String[] a)throws IOException{
                                              ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: variable a is already defined in method main(String[])
		int a,b;
		    ^
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		                         ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		                                            ^
  symbol:   class InputStreamReader
  location: class Main
5 errors
Language: Java

import java.io.*;

public class Main {
	public void main(String[] args){
		int a,b;

		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

		String s = buf.readLine();
		String[] st = s.split(" ");

		a = Integer.parseInt(st[0]);
		b = Integer.parseInt(st[1]);

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

		System.out.println(s);
	}
}

Compiler output:
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown
		String s = buf.readLine();
		                       ^
1 error
Language: Java

import java.util.*;

public class SmallLargeEqual{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String input = sc.nextLine();
		String[] inputArray = input.split(" ");

		if(inputArray.length == 2){
			int a = Integer.parseInt(inputArray[0]);
			int b = Integer.parseInt(inputArray[1]);
			if(a < b){
				System.out.println("a < b");
			}
			else if(b < a){
				System.out.println("a > b");
			}
			else if(a == b){
				System.out.println("a == b");
			}
		}
		else{
			System.out.println("2つの整数を入力してください");
		}
	}
}

Compiler output:
Main.java:3: error: class SmallLargeEqual is public, should be declared in a file named SmallLargeEqual.java
public class SmallLargeEqual{
       ^
1 error
Language: Java


class Main{
public static void main(String[] args)
{

int a,b;

System.in.read("+"a"+" "+"b"+");

if(a<b)
          {System.out.println("a<b");}
else if(a>b)
                {System.out.println("a>b");}
else
     {System.out.println("a==b");}
}

}

Compiler output:
Main.java:8: error: ')' or ',' expected
System.in.read("+"a"+" "+"b"+");
                  ^
Main.java:8: error: ';' expected
System.in.read("+"a"+" "+"b"+");
                   ^
Main.java:8: error: not a statement
System.in.read("+"a"+" "+"b"+");
                          ^
Main.java:8: error: ';' expected
System.in.read("+"a"+" "+"b"+");
                           ^
4 errors
Language: Java

import java.util.Scanner;
　
public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int a = cin.nextInt();
        int b = cin.nextInt();
        if(a == b)
        {
                System.out.println("a == b");
         }
         if(a < b)
         {
                System.out.println("a < b");
          }
          if(a > b)
          {
                System.out.println("a > b");
           }
    }
}

Compiler output:
Main.java:2: error: illegal character: '\u3000'
?
^
1 error
Language: Java

package AOJ;

import java.util.*;

public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int x,y;
		x=sc.nextInt();
		y=sc.nextLnt();
		if(x==y)System.out.println("a=b");
		else if(x<y)System.out.println("a<b");
		else if(x>y)System.out.println("a>b");
		sc.close();
	}

}

Compiler output:
Main.java:10: error: cannot find symbol
		y=sc.nextLnt();
		    ^
  symbol:   method nextLnt()
  location: variable sc of type Scanner
1 error
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:13: error: expected ';' before 'a'
    5 | printf("a ")
      |             ^
      |             ;
    6 | a<b?printf("<"):a==b?printf("=="):printf(">");
      | ~
Language: C

#include <stdio.h>

int main(){

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

	return 0;

}

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

#include <iostream>
 
using namespace std;
 
int main()
{
    int a, b;
    scanf("%d%d", &a, &b);
    printf("%d %d %lf\n", a/b, a%b, (double)a/b);
     
    return 0;
}

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

<?php
     
    fscanf(STDIN, "%d %d\n", $a, $b);
    if($a>$b) $op = ">";
    else if($a<$b) $op = "<";
    else $op = "==";
    printf("a %s b\n", $op);
     
?>

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:4:5: error: expected identifier or '(' before 'if'
    4 |     if($a>$b) $op = ">";
      |     ^~
main.c:5:5: error: expected identifier or '(' before 'else'
    5 |     else if($a<$b) $op = "<";
      |     ^~~~
main.c:6:5: error: expected identifier or '(' before 'else'
    6 |     else $op = "==";
      |     ^~~~
main.c:7:12: error: expected declaration specifiers or '...' before string constant
    7 |     printf("a %s b\n", $op);
      |            ^~~~~~~~~~
main.c:7:24: error: unknown type name '$op'
    7 |     printf("a %s b\n", $op);
      |                        ^~~
main.c:9:1: error: expected identifier or '(' before '?' token
    9 | ?>
      | ^
Language: C

<?php
$num = trim(fgets(STDIN));
$ary_num = explode(' ', $num);
$a = $ary_num[0];
$b = $ary_num[1];
 
if($a < $b) {
    echo 'a < b';
} elseif($a > $b) {
    echo 'a > b';
} else {
    echo 'a == b';
}
?>

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <?php
      | ^
main.c:3:1: warning: data definition has no type or storage class
    3 | $ary_num = explode(' ', $num);
      | ^~~~~~~~
main.c:3:1: error: type defaults to 'int' in declaration of '$ary_num' [-Wimplicit-int]
main.c:3:12: error: implicit declaration of function 'explode' [-Wimplicit-function-declaration]
    3 | $ary_num = explode(' ', $num);
      |            ^~~~~~~
main.c:3:25: error: '$num' undeclared here (not in a function)
    3 | $ary_num = explode(' ', $num);
      |                         ^~~~
main.c:4:1: warning: data definition has no type or storage class
    4 | $a = $ary_num[0];
      | ^~
main.c:4:1: error: type defaults to 'int' in declaration of '$a' [-Wimplicit-int]
main.c:4:14: error: subscripted value is neither array nor pointer nor vector
    4 | $a = $ary_num[0];
      |              ^
main.c:5:1: warning: data definition has no type or storage class
    5 | $b = $ary_num[1];
      | ^~
main.c:5:1: error: type defaults to 'int' in declaration of '$b' [-Wimplicit-int]
main.c:5:14: error: subscripted value is neither array nor pointer nor vector
    5 | $b = $ary_num[1];
      |              ^
main.c:7:1: error: expected identifier or '(' before 'if'
    7 | if($a < $b) {
      | ^~
main.c:8:10: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    8 |     echo 'a < b';
      |          ^~~~~~~
main.c:9:12: error: expected ')' before '>' token
    9 | } elseif($a > $b) {
      |            ^~
      |            )
main.c:10:10: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
   10 |     echo 'a > b';
      |          ^~~~~~~
main.c:11:3: error: expected identifier or '(' before 'else'
   11 | } else {
      |   ^~~~
main.c:12:10: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
   12 |     echo 'a == b';
      |          ^~~~~~~~
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: In function 'main':
main.c:10:5: error: expected '}' before 'else'
   10 |     else{
      |     ^~~~
Language: C

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

return (0);
}

Compiler output:
main.c: In function 'main':
main.c:18:27: error: expected ';' before '}' token
   18 | printf("%d == %d\n", a, b)
      |                           ^
      |                           ;
   19 | }
      | ~
Language: C

#include <stdio.h>
int main(void) {
int a=0,b=0;
scanf("%d %d",&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:1: error: expected declaration or statement at end of input
   12 | }
      | ^
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");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:29: error: expected ';' before 'if'
    6 |         scanf("%d %d",&a,&b)
      |                             ^
      |                             ;
    7 |         if(a>b)printf("a>b\n");
      |         ~~                   
main.c:8:9: error: 'else' without a previous 'if'
    8 |         else if(a<b)printf("a<b\n");
      |         ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:8: error: expected '(' before 'else'
    7 |     if else("a>b");
      |        ^~~~
      |        (
main.c:9:8: error: expected '(' before 'else'
    9 |     if else("a==b");
      |        ^~~~
      |        (
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:6: error: expected expression before '/' token
    6 |     */printf("a = %d \n b = %d \n",a,b);*/
      |      ^
main.c:6:42: error: expected expression before '/' token
    6 |     */printf("a = %d \n b = %d \n",a,b);*/
      |                                          ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:6: error: expected expression before '/' token
    6 |     */printf("a = %d \n b = %d \n",a,b);*/
      |      ^
main.c:6:42: error: expected expression before '/' token
    6 |     */printf("a = %d \n b = %d \n",a,b);*/
      |                                          ^
Language: C

#include<stdio.h>
int main(){
  int a;
  int b;
  scanf("%d %d",&a,&b);
  if(a<b{
      printf("a<b\n");
    }
    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:9: error: expected ')' before '{' token
    6 |   if(a<b{
      |     ~   ^
      |         )
main.c:16:9: error: expected declaration or statement at end of input
   16 |         }
      |         ^
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:6:9: error: expected ')' before '{' token
    6 |   if(a<b{
      |     ~   ^
      |         )
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int a;
  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:6:9: error: expected ')' before '{' token
    6 |   if(a<b{
      |     ~   ^
      |         )
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int a,b;
  scanf("%d %d",&a,&b);
  if(a<b{
     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:9: error: expected ')' before '{' token
    5 |   if(a<b{
      |     ~   ^
      |         )
main.c:15:5: error: expected declaration or statement at end of input
   15 |     }
      |     ^
Language: C

#include<stdio.h>
int main(){
  int a,b;
  scanf("%d %d",&a,&b);
  if(a<b{
      printf(" a < b \n");
    }
    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:9: error: expected ')' before '{' token
    5 |   if(a<b{
      |     ~   ^
      |         )
main.c:15:9: error: expected declaration or statement at end of input
   15 |         }
      |         ^
Language: C

#include<stdio.h>
int main(){
  int a,b;
  scanf("%d %d",&a,&b);
  if(a<b{
      printf("a < b\n");
    }
    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:9: error: expected ')' before '{' token
    5 |   if(a<b{
      |     ~   ^
      |         )
main.c:15:9: error: expected declaration or statement at end of input
   15 |         }
      |         ^
Language: C

#include<stdio.h>
int main(){
  int a,b;
  scanf("%d %d",&a,&b);
  if(a<b{
      printf("a < b\n");
  }
  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:9: error: expected ')' before '{' token
    5 |   if(a<b{
      |     ~   ^
      |         )
main.c:15:9: error: expected declaration or statement at end of input
   15 |         }
      |         ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected ')' before '{' token
    5 |   if(a<b{
      |     ~   ^
      |         )
main.c:14:9: error: expected declaration or statement at end of input
   14 |         return
      |         ^~~~~~
Language: C

#include <stdio.h>
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:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d %d",&a,&b);
      |       ^~~~~~~
main.c:3:15: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&a,&b);
      |               ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&a,&b);
      |                  ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(a<b){
      | ^~
main.c:7:1: error: expected identifier or '(' before 'if'
    7 | if(a>b){
      | ^~
main.c:10:1: error: expected identifier or '(' before 'if'
   10 | if(a==b){
      | ^~
main.c:13:1: 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("%d<%d\n",a,b);
    }else if(a>b){
    printf("%d>%d\n",a,b);
    }else{
    printf("%d==%d\n",a,b);
    }
    return 0;
}

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

#include <stdio.h>

int main(void){
int x, y;
scanf("%d %d", &x, &y);

if(x < y)
printf("a < b");
else if(x > y)
printf("a > b");
else
printf("a == b")

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:17: error: expected ';' before 'return'
   12 | printf("a == b")
      |                 ^
      |                 ;
   13 | 
   14 | return 0;
      | ~~~~~~
Language: C

#include <stdio.h>
int main(int argc,const char * argv[]){
    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{
        printf("%d == %d\n", a, b);
    }
    return 0;
}

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

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int a,b;scanf("%d %d",&a,&b);if(a<b){printf("a < b\n");}if(a>b){printf(""a > b\n);}else{ptintf("a == b\n");}return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:81: error: expected ')' before 'a'
    2 | main(){int a,b;scanf("%d %d",&a,&b);if(a<b){printf("a < b\n");}if(a>b){printf(""a > b\n);}else{ptintf("a == b\n");}return 0;}
      |                                                                              ~  ^
      |                                                                                 )
main.c:2:86: error: stray '\' in program
    2 | main(){int a,b;scanf("%d %d",&a,&b);if(a<b){printf("a < b\n");}if(a>b){printf(""a > b\n);}else{ptintf("a == b\n");}return 0;}
      |                                                                                      ^
main.c:2:96: error: implicit declaration of function 'ptintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    2 | main(){int a,b;scanf("%d %d",&a,&b);if(a<b){printf("a < b\n");}if(a>b){printf(""a > b\n);}else{ptintf("a == b\n");}return 0;}
      |                                                                                                ^~~~~~
      |                                                                                                printf
Language: C

#include<stdio.h>
main(){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");}return 0;}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){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");}return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:81: error: expected ')' before 'a'
    2 | main(){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");}return 0;}
      |                                                                              ~  ^
      |                                                                                 )
main.c:2:86: error: stray '\' in program
    2 | main(){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");}return 0;}
      |                                                                                      ^
Language: C

a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:39: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      |                                       ^~~~
main.c:1:39: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:76: error: lvalue required as left operand of assignment
    1 | a;main(b){scanf("%d%d",&a,&b);a==b?a=!puts("a == b"):a>b?a=!puts("a > b"):a=puts("a < b");}
      |                                                                            ^
Language: C

a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:34: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |                                  ^~~~
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:55: error: pointer/integer type mismatch in conditional expression [-Wint-conversion]
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |                                                       ^
main.c:1:63: error: expected ')' before ':' token
    1 | a;main(b){scanf("%d%d",&a,&b);a=!puts(a<b?"a < b":a>b?:"a > b":"a == b");}
      |                                      ~                        ^
      |                                                               )
Language: C

#include <stdio.h>

int main(){

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

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

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

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

return 0;
}

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

import java.util.Scanner;

public class Main{
	public static void main (String[] args){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int b=sc.nextInt();
	if(a<b){
		System.out.printf("%d < %d\n",a,b);
	}else if(a>b){
		System.out.printf("%d > %d\n",a,b);
	}else {
		System.out.printf("%d == %d\n",a,b);
}
}
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:3:1: error: unknown type name 'public'
    3 | public class Main{
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main{
      |              ^~~~
Language: C

include<stdio.h>

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

  return 0;
}

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

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d%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:7:29: error: stray '\' in program
    7 |                 printf(a > b\n");
      |                             ^
main.c:7:29: error: expected ')' before 'n'
    7 |                 printf(a > b\n");
      |                       ~     ^~
      |                             )
main.c:7:31: warning: missing terminating " character
    7 |                 printf(a > b\n");
      |                               ^
main.c:7:31: error: missing terminating " character
    7 |                 printf(a > b\n");
      |                               ^~~
main.c:7:26: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |                 printf(a > b\n");
      |                        ~~^~~
      |                          |
      |                          int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:31: error: expected ';' before '}' token
    7 |                 printf(a > b\n");
      |                               ^
      |                               ;
    8 |         }else{
      |         ~
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:9: error: 'else' without a previous 'if'
   11 |         else printf("a == b\n");
      |         ^~~~
Language: C

#include <stdio.h>

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

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

Compiler output:
main.c: In function 'main':
main.c:7:33: warning: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^
main.c:7:33: error: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^~~
main.c:7:33: error: expected ')' before 'if'
    7 |     if(a<b) printf("%d < %d",a,b");
      |                   ~             ^
      |                                 )
    8 |     if(a>b) printf("%d > %d",a,b");
      |     ~~                           
main.c:8:33: warning: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^
main.c:8:33: error: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^~~
main.c:11:5: error: expected declaration or statement at end of input
   11 |     }
      |     ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:33: warning: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^
main.c:7:33: error: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^~~
main.c:7:33: error: expected ')' before 'if'
    7 |     if(a<b) printf("%d < %d",a,b");
      |                   ~             ^
      |                                 )
    8 |     if(a>b) printf("%d > %d",a,b");
      |     ~~                           
main.c:8:33: warning: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^
main.c:8:33: error: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^~~
main.c:11:1: error: expected declaration or statement at end of input
   11 | }
      | ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:33: warning: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^
main.c:7:33: error: missing terminating " character
    7 |     if(a<b) printf("%d < %d",a,b");
      |                                 ^~~
main.c:7:33: error: expected ')' before 'if'
    7 |     if(a<b) printf("%d < %d",a,b");
      |                   ~             ^
      |                                 )
    8 |     if(a>b) printf("%d > %d",a,b");
      |     ~~                           
main.c:8:33: warning: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^
main.c:8:33: error: missing terminating " character
    8 |     if(a>b) printf("%d > %d",a,b");
      |                                 ^~~
main.c:11:5: error: expected declaration or statement at end of input
   11 |     }
      |     ^
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");
}
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 %d\n"&a,&b);
      |       ~~~~~~~~~^
      |       |
      |       char *
Language: C

#include<stdio.h>

int main(){
int a, b;

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

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

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

include<stdio.h>

int main(){
int a, b;

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

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

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

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

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

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

#include <stdio.h>

int main() {
  int a, b;
  scanf("%d%d", &a, &b);
  ptintf("%d %d %d\n", a / d, a % b, (double)a / b);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'ptintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    6 |   ptintf("%d %d %d\n", a / d, a % b, (double)a / b);
      |   ^~~~~~
      |   printf
main.c:6:28: error: 'd' undeclared (first use in this function)
    6 |   ptintf("%d %d %d\n", a / d, a % b, (double)a / b);
      |                            ^
main.c:6:28: 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);
  printf("%d %d %d\n", a / d, a % b, (double)a / b);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:28: error: 'd' undeclared (first use in this function)
    6 |   printf("%d %d %d\n", a / d, a % b, (double)a / b);
      |                            ^
main.c:6:28: 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)
	{
		printf("a<b");
	}
	else if (a>b)
	{
		printf("a>b");
	}
	else if (a=b)
	{
		printf("a=b");
	}
	return 0;
}

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

#include<stdio.h>
int main()
{
	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:18:9: error: expected declaration or statement at end of input
   18 |         return 0;
      |         ^~~~~~
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(a==b){
    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:11:13: error: expected ';' before '{' token
   11 |   else(a==b){
      |             ^
      |             ;
Language: C

#include<stdio.h>

int main(void){
    int a, b;

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

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

    return 0;
}

Compiler output:
main.c: In function 'main':
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",&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:5: error: expected identifier or '(' before 'return'
   19 |     return 0;
      |     ^~~~~~
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    do{
    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");
    }while();
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:12: error: expected expression before ')' token
   10 |     }while();
      |            ^
Language: C

#include <stdio.h>

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

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

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

Compiler output:
main.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^
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);
    }
   if (a > b) {
    printf("%d > %d\n", a, b);
    }
   if (a == b) {
     printf("%d == %d\n", a, b
    }

   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:31: error: expected ')' before '}' token
   15 |      printf("%d == %d\n", a, b
      |            ~                  ^
      |                               )
   16 |     }
      |     ~                          
main.c:15:31: error: expected ';' before '}' token
   15 |      printf("%d == %d\n", a, b
      |                               ^
      |                               ;
   16 |     }
      |     ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:21: error: 'a' undeclared (first use in this function)
    3 |     scanf("%d　%d",&a,&b);
      |                     ^
main.c:3:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:24: error: 'b' undeclared (first use in this function)
    3 |     scanf("%d　%d",&a,&b);
      |                        ^
main.c:7:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |         print("a>b"):
      |         ^~~~~
      |         printf
main.c:7:21: error: expected ';' before ':' token
    7 |         print("a>b"):
      |                     ^
      |                     ;