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

#include<stdio.h>


int main(void)


{


double r, double pai=3.14159265359


scanf("%lf",&r);


printf("%f %f\n",r*r*pai,2*r*pai);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:10:11: error: expected identifier or '(' before 'double'
   10 | double r, double pai=3.14159265359
      |           ^~~~~~
main.c:16:22: error: 'pai' undeclared (first use in this function)
   16 | printf("%f %f\n",r*r*pai,2*r*pai);
      |                      ^~~
main.c:16:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d"&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


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


return 0;


}

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

#include<stdio.h>

int main(void)

{


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d"&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


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


return 0;


}

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

#include<stdio.h>

int main(void)


{


double r,m,n;


scanf("%d"&r);


m=3.14*r*r;


n=2*3.14*r;


printf("&d %d\n",m,n);


retrn 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:11: error: invalid operands to binary & (have 'char *' and 'double')
   12 | scanf("%d"&r);
      |       ~~~~^
      |       |
      |       char *
main.c:24:1: error: 'retrn' undeclared (first use in this function)
   24 | retrn 0;
      | ^~~~~
main.c:24:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:24:6: error: expected ';' before numeric constant
   24 | retrn 0;
      |      ^~
      |      ;
Language: C

#include<stdio.h>

int main()


{


    int a,b;


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


    printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);


    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:12: error: expected expression before '%' token
   15 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |            ^
main.c:15:20: error: stray '\' in program
   15 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                    ^
main.c:15:22: warning: missing terminating " character
   15 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                      ^
main.c:15:22: error: missing terminating " character
   15 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:14: error: expected ';' before '}' token
   18 |     return 0;
      |              ^
      |              ;
......
   21 | }
      | ~
Language: C

#include<stdio.h>

int main(void)
{
   int a,b,d,r;
   
   double f;

   scanf("%d,%d",&a,&b);
??? 
   d=a/d;

   r=a%b;

   f=(double)a/(double)b;

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

   return 0;
  
   printf("d r f",a/b,a%b,);

Compiler output:
main.c: In function 'main':
main.c:10:1: error: expected expression before '?' token
   10 | ???
      | ^
main.c:21:27: error: expected expression before ')' token
   21 |    printf("d r f",a/b,a%b,);
      |                           ^
main.c:21:27: error: expected declaration or statement at end of input
Language: C

#include<stdio.h>

int main(void)
{
   int a,b,d,r;
   
   double f;

   scanf("%d,%d",&a,&b);
??? 
   d=a/d;

   r=a%b;

   f=(double)a/(double)b;

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

   return 0;
  
}

Compiler output:
main.c: In function 'main':
main.c:10:1: error: expected expression before '?' token
   10 | ???
      | ^
Language: C

#include<stdio.h>

int main(void)
{
   int a,b,d,r;
   
   double f;

   scanf("%d,%d"&a,&b);
??? 
   d=a/d;

   r=a%b;

   f=(double)a/(double)b;

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

   return 0;
  
}

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

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

Compiler output:
main.c: In function 'main':
main.c:6:12: error: expected expression before '%' token
    6 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |            ^
main.c:6:20: error: stray '\' in program
    6 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                    ^
main.c:6:22: warning: missing terminating " character
    6 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                      ^
main.c:6:22: error: missing terminating " character
    6 |     printf(%d %d %f\n",a/b,a%b,(double)a/(double)b);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:14: error: expected ';' before '}' token
    7 |     return 0;
      |              ^
      |              ;
    8 | }
      | ~
Language: C

#include<stdio.h>
intmain()
{
double r; double pai=3.14159265359;
scanf("%lf",&r);
printf("%f %f\n",r*r*pai,2*r*pai);
return 0;
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | intmain()
      | ^~~~~~~
Language: C

#include<stdio.h>

int main(void)
{
   int a,b,d,r;
   
   double f;

   scanf("%d,%d",&a,&b);
??? 
   d=a/d;

   r=a%b;

   f=(double)a/b;

   printf("%d %d %lf",d,r,f);

   return 0;
  
}

Compiler output:
main.c: In function 'main':
main.c:10:1: error: expected expression before '?' token
   10 | ???
      | ^
Language: C

#include<stdio.h>

int main(void)
{
int a,b;

scanf("%d %d",&a,&b);
printf("%d %d %lf\n",a/b,a%b,(double)a/(double)/b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:48: error: expected expression before '/' token
    8 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)/b);
      |                                                ^
Language: C

#include<stdio.h>

int main(void)


{


   int a,b;


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


   printf("%d %d %f\n",a/b,a%b,(double)a//(double)b);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:41: error: expected ')' before 'return'
   15 |    printf("%d %d %f\n",a/b,a%b,(double)a//(double)b);
      |          ~                              ^
      |                                         )
......
   18 |    return 0;
      |    ~~~~~~                                
main.c:18:13: error: expected ';' before '}' token
   18 |    return 0;
      |             ^
      |             ;
......
   21 | }
      | ~
Language: C

#include<stdio.h>

int main(void)
{
int a,b;

scanf("%d %d",&a,&b);
printf("%d %d %f\n",a/b,a%b,(double)a/(double)/b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:47: error: expected expression before '/' token
    8 | printf("%d %d %f\n",a/b,a%b,(double)a/(double)/b);
      |                                               ^
Language: C

#include<stdio.h>

int main()


{


   int a,b;


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


   printf("%d %d %f\n",a/b,a%b,(double)a//(double)b);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:41: error: expected ')' before 'return'
   15 |    printf("%d %d %f\n",a/b,a%b,(double)a//(double)b);
      |          ~                              ^
      |                                         )
......
   18 |    return 0;
      |    ~~~~~~                                
main.c:18:13: error: expected ';' before '}' token
   18 |    return 0;
      |             ^
      |             ;
......
   21 | }
      | ~
Language: C

#include<stdio.h>

int main(void)

{

int a,b,d,r;

double f;

scanf("%d",&a);

scanf("&d",&b);

d=a/b;

r=a%b;

f=(double)a/(double)b;

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


return0;


}

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

int main(void)


{


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f(double)a/(double)b;


printf("%d %d %lf|n",d,r,f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   13 | scanf("%d",&a);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   13 | scanf("%d",&a);
      | ^~~~~
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:25:3: error: expected expression before 'double'
   25 | f(double)a/(double)b;
      |   ^~~~~~
main.c:25:1: error: called object 'f' is not a function or function pointer
   25 | f(double)a/(double)b;
      | ^
main.c:10:8: note: declared here
   10 | double f;
      |        ^
main.c:25:10: error: expected ';' before 'a'
   25 | f(double)a/(double)b;
      |          ^
      |          ;
main.c:28:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   28 | printf("%d %d %lf|n",d,r,f);
      | ^~~~~~
main.c:28:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:28:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:28:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

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

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

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

int main(void)


{


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f(double)a/(double)b;


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   13 | scanf("%d",&a);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   13 | scanf("%d",&a);
      | ^~~~~
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:25:3: error: expected expression before 'double'
   25 | f(double)a/(double)b;
      |   ^~~~~~
main.c:25:1: error: called object 'f' is not a function or function pointer
   25 | f(double)a/(double)b;
      | ^
main.c:10:8: note: declared here
   10 | double f;
      |        ^
main.c:25:10: error: expected ';' before 'a'
   25 | f(double)a/(double)b;
      |          ^
      |          ;
main.c:28:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   28 | printf("%d %d %lf\n",d,r,f);
      | ^~~~~~
main.c:28:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:28:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:28:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

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

#include<stdio.h>

int main(void)

{

    int a,b;


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


    printf("%d %d %f\n",a/b,a%b,(double)a/(double)b);


    return 0


}

Compiler output:
main.c: In function 'main':
main.c:16:13: error: expected ';' before '}' token
   16 |     return 0
      |             ^
      |             ;
......
   19 | }
      | ~
Language: C

#include<stdio.h>

int main(void)

{

int a b d r;

double f;

scanf("%d",&a);

scanf("%d",&b);

d = a / b;

r = a / b;

f = (double)a / (double)b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    7 | int a b d r;
      |       ^
main.c:7:7: error: unknown type name 'b'
main.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r'
    7 | int a b d r;
      |           ^
main.c:11:13: error: 'a' undeclared (first use in this function)
   11 | scanf("%d",&a);
      |             ^
main.c:11:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:13: error: 'b' undeclared (first use in this function)
   13 | scanf("%d",&b);
      |             ^
main.c:15:1: error: 'd' undeclared (first use in this function)
   15 | d = a / b;
      | ^
main.c:17:1: error: 'r' undeclared (first use in this function)
   17 | r = a / b;
      | ^
Language: C

#include<stdio.h>

int main(void)

{

int a b d r

double f

scanf("%d",&a);

scanf("%d",&b);

d = a / b;

r = a / b;

f = (double)a / (double)b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    7 | int a b d r
      |       ^
main.c:7:7: error: unknown type name 'b'
main.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r'
    7 | int a b d r
      |           ^
main.c:13:13: error: 'b' undeclared (first use in this function)
   13 | scanf("%d",&b);
      |             ^
main.c:13:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:1: error: 'd' undeclared (first use in this function)
   15 | d = a / b;
      | ^
main.c:15:5: error: 'a' undeclared (first use in this function)
   15 | d = a / b;
      |     ^
main.c:17:1: error: 'r' undeclared (first use in this function)
   17 | r = a / b;
      | ^
main.c:19:1: error: 'f' undeclared (first use in this function)
   19 | f = (double)a / (double)b;
      | ^
Language: C

#include<stdio.h>

int main(void)

{

int a,b,d,r

double f

scanf("%d",&a);

scanf("%d",&b);

d = a / b;

r = a / b;

f = (double)a / (double)b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
    9 | double f
      | ^~~~~~
main.c:17:1: error: 'r' undeclared (first use in this function)
   17 | r = a / b;
      | ^
main.c:17:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:19:1: error: 'f' undeclared (first use in this function)
   19 | f = (double)a / (double)b;
      | ^
Language: C

#include<stdio.h>

int main(void)

{

int a,b,d,r = 0

double f = 0.0

scanf("%d",&a);

scanf("%d",&b);

d = a / b;

r = a / b;

f = (double)a / (double)b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected ',' or ';' before 'double'
    9 | double f = 0.0
      | ^~~~~~
main.c:19:1: error: 'f' undeclared (first use in this function)
   19 | f = (double)a / (double)b;
      | ^
main.c:19:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

int main(void)

{

int a,b;

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

printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 | scanf("%d %d,&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:7:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 | scanf("%d %d,&a,&b);
      | ^~~~~
main.c:7:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:7: warning: missing terminating " character
    7 | scanf("%d %d,&a,&b);
      |       ^
main.c:7:7: error: missing terminating " character
    7 | scanf("%d %d,&a,&b);
      |       ^~~~~~~~~~~~~~
main.c:9:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
      | ^~~~~~
main.c:9:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:50: error: expected ')' before ';' token
    9 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
      |                                                  ^
      |                                                  )
main.c:7:6: note: to match this '('
    7 | scanf("%d %d,&a,&b);
      |      ^
main.c:9:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    9 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
main.c:9:1: note: expected 'const char *' but argument is of type 'int'
main.c:11:10: error: expected ';' before '}' token
   11 | return 0;
      |          ^
      |          ;
   12 | 
   13 | }
      | ~
Language: C

#include<stdio.h>
int main(void)

{

int a,b;

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

printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:8:7: warning: missing terminating " character
    8 | scanf("%d %d,&a,&b);
      |       ^
main.c:8:7: error: missing terminating " character
    8 | scanf("%d %d,&a,&b);
      |       ^~~~~~~~~~~~~~
main.c:10:50: error: expected ')' before ';' token
   10 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
      |                                                  ^
      |                                                  )
main.c:8:6: note: to match this '('
    8 | scanf("%d %d,&a,&b);
      |      ^
main.c:10:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
   10 | printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:10: error: expected ';' before '}' token
   12 | return 0;
      |          ^
      |          ;
   13 | 
   14 | }
      | ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:31: error: expected expression before 'double'
    5 | printf("%d %d %5lf\n",a/b,a%b,double a/b);
      |                               ^~~~~~
Language: C

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

d=a/b;
r=a%b;
f=(doubele)a/b;
printf("%d %d %5lf\n",d,r,f);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:4: error: 'doubele' undeclared (first use in this function); did you mean 'double'?
   11 | f=(doubele)a/b;
      |    ^~~~~~~
      |    double
main.c:11:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:12: error: expected ';' before 'a'
   11 | f=(doubele)a/b;
      |            ^
      |            ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:10: warning: missing terminating " character
    6 |   printf("%d %d %lf\n,a/b,a%b,(double)a/(double)b);
      |          ^
main.c:6:10: error: missing terminating " character
    6 |   printf("%d %d %lf\n,a/b,a%b,(double)a/(double)b);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:3: error: expected expression before 'return'
    7 |   return 0;
      |   ^~~~~~
main.c:7:12: error: expected ';' before '}' token
    7 |   return 0;
      |            ^
      |            ;
    8 | }
      | ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:12:29: error: expected ')' before 'd'
   12 |         printf("%d %d %lf\n"d,r,f);
      |               ~             ^
      |                             )
Language: C

#include<stdio.h>

int main(void){


int a,b,c,d,r;


double f;


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


d=a/b;


r=a%b;


f=(double)a/b;


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


return 0;

Compiler output:
main.c: In function 'main':
main.c:27:1: error: expected declaration or statement at end of input
   27 | return 0;
      | ^~~~~~
Language: C

int main(void)

{

    int a,b,d,r,f;

    scanf("%d",&a);

    scanf("%d",&b);

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




return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:7:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |     scanf("%d",&a);
      |     ^~~~~
main.c:7:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d %lf\n"a / b,a % b, a / b);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:25: error: expected ')' before 'a'
   11 |     printf("%d %d %lf\n"a / b,a % b, a / b);
      |           ~             ^
      |                         )
Language: C

#include<stdio.h>
int main(void)
{
	int a,b,d,r;
	double f;
	
	scanf("%d %d",&a,&b);
	
	d=a/b;
	r=a%b;
	f=(double)a/(double)b;
	printf("%d %d %lf"d,r,f);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:27: error: expected ')' before 'd'
   12 |         printf("%d %d %lf"d,r,f);
      |               ~           ^
      |                           )
Language: C



int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   12 | scanf("%d",&a);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | 
main.c:12:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   12 | scanf("%d",&a);
      | ^~~~~
main.c:12:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:27:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   27 | printf("%d %d %lf\n",d r f);
      | ^~~~~~
main.c:27:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:27:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:27:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:27:23: error: expected ')' before 'r'
   27 | printf("%d %d %lf\n",d r f);
      |       ~               ^~
      |                       )
Language: C

#include <stdio.h>

int main (void)

{

 int a,b, f;

 double f;


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

 d = a / b;

 r = a % b;

 f = a / b;

 printf("%d %d %lf",d,r,f);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:9: error: conflicting types for 'f'; have 'double'
    9 |  double f;
      |         ^
main.c:7:11: note: previous declaration of 'f' with type 'int'
    7 |  int a,b, f;
      |           ^
main.c:14:2: error: 'd' undeclared (first use in this function)
   14 |  d = a / b;
      |  ^
main.c:14:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:2: error: 'r' undeclared (first use in this function)
   16 |  r = a % b;
      |  ^
Language: C

#include<stdio.h>

int main(void){

	double a,b ;
    scanf("%d",&a) ;
    scanf("%d",&b) ;
	printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b) ;
		
	return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:8:35: error: invalid operands to binary % (have 'double' and 'double')
    8 |         printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b) ;
      |                                   ^
Language: C

#include<stdio.h>


int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:28:23: error: expected ')' before 'r'
   28 | printf("%d %d %lf\n",d r f);
      |       ~               ^~
      |                       )
Language: C

#include<stdio.h>
int main(void)
{
	int a,b,d,r;
	double f;
	
	scanf("%d %d",&a,&b);
	
	d=a/b;
	r=a%b;
	f=(double)a/b;
	printf("%d %d %lf"d,r,f);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:27: error: expected ')' before 'd'
   12 |         printf("%d %d %lf"d,r,f);
      |               ~           ^
      |                           )
Language: C

#include <stdio.h>

int main (void)

{

 int a,b,r;

 double f;


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

 d = a / b;

 r = a % b;

 f = a / b;

 printf("%d %d %lf",d,r,f);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:2: error: 'd' undeclared (first use in this function)
   14 |  d = a / b;
      |  ^
main.c:14:2: note: each undeclared identifier is reported only once for each function it appears in
Language: C

{


int a,b,d,r;


double f;


scanf("%d",&a);


scanf("%d",&b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


printf("%d %d %d",d,r,f);


return 0;


}

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

#include<stdio.h>

int main(void){

	double a ;
double b ;
    scanf("%d",&a) ;
    scanf("%d",&b) ;
	printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b) ;
		
	return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:9:35: error: invalid operands to binary % (have 'double' and 'double')
    9 |         printf("%d %d %lf\n",a/b,a%b,(double)a/(double)b) ;
      |                                   ^
Language: C

int main(void)

{

    int a,b,d,r,f;

    scanf("%d",&a);

    scanf("%d",&b);

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


return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:7:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |     scanf("%d",&a);
      |     ^~~~~
main.c:7:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d %lf\n"a / b,a % b, a / b);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:25: error: expected ')' before 'a'
   11 |     printf("%d %d %lf\n"a / b,a % b, a / b);
      |           ~             ^
      |                         )
Language: C

int main(void)

{

    int a,b,d,r,

    double f;


    scanf("%d",&a);

    scanf("%d",&b);

    d = a / b;

    r = a % b;


    f = a / b;



return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: expected identifier or '(' before 'double'
    7 |     double f;
      |     ^~~~~~
main.c:10:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   10 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:10:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   10 |     scanf("%d",&a);
      |     ^~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:19:5: error: 'f' undeclared (first use in this function)
   19 |     f = a / b;
      |     ^
main.c:19:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C

int main (void)


{


int a,b,d,r;


double f;


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


d=a/b;


r=a%b


f=(double)a/b


printf("%d %d %lf",d,r,f);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   13 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main (void)
main.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   13 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:19:6: error: expected ';' before 'f'
   19 | r=a%b
      |      ^
      |      ;
......
   22 | f=(double)a/b
      | ~
Language: C

int main(void)

{

    int a,b,d,r;

    double f;


    scanf("%d",&a);

    scanf("%d",&b);

    d = a / b;

    r = a % b;


    f = a / b;



return 0;

}


}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   10 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void)
main.c:10:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   10 |     scanf("%d",&a);
      |     ^~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c: At top level:
main.c:28:1: error: expected identifier or '(' before '}' token
   28 | }
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:12:29: error: expected ')' before 'd'
   12 |         printf("%d %d %lf\n"d,r,f);
      |               ~             ^
      |                             )
Language: C

#include ???stdio.h???

int main(void)


{


    int a,b,d,r;


    double f;


    scanf("%d",&a);


    scanf("%d",&b);


    d = a /b;


    r = a % b;


    f = a / b;


    printf("%d %d %5f",d,r,f);





    return 0;


}

Compiler output:
main.c:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include ???stdio.h???
      |          ^
main.c: In function 'main':
main.c:15:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   15 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include ???stdio.h???
main.c:15:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   15 |     scanf("%d",&a);
      |     ^~~~~
main.c:15:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:30:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   30 |     printf("%d %d %5f",d,r,f);
      |     ^~~~~~
main.c:30:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:30:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:30:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main(void)

{

    int a,b,d,r,f;

    scanf("%d", &a);

    scanf("%d", &b);

    d=a/b ;

    r=a-d*b ;

    f=a/b ;

    printf("%d %d %d,d,r,f);

    return 0 ;


}

Compiler output:
main.c: In function 'main':
main.c:19:12: warning: missing terminating " character
   19 |     printf("%d %d %d,d,r,f);
      |            ^
main.c:19:12: error: missing terminating " character
   19 |     printf("%d %d %d,d,r,f);
      |            ^~~~~~~~~~~~~~~~~
main.c:21:5: error: expected expression before 'return'
   21 |     return 0 ;
      |     ^~~~~~
main.c:21:15: error: expected ';' before '}' token
   21 |     return 0 ;
      |               ^
      |               ;
......
   24 | }
      | ~
Language: C

#include<stdio.h>

int main(void)

{

    int a,b,d,r;

    double f;

    scanf("%d", &a);

    scanf("%d", &b);

    d=a/b ;

    r=a-d*b ;

    f=a/b ;

    printf("%d %d %d,d,r,f);

    return 0 ;

}

Compiler output:
main.c: In function 'main':
main.c:21:12: warning: missing terminating " character
   21 |     printf("%d %d %d,d,r,f);
      |            ^
main.c:21:12: error: missing terminating " character
   21 |     printf("%d %d %d,d,r,f);
      |            ^~~~~~~~~~~~~~~~~
main.c:23:5: error: expected expression before 'return'
   23 |     return 0 ;
      |     ^~~~~~
main.c:23:15: error: expected ';' before '}' token
   23 |     return 0 ;
      |               ^
      |               ;
   24 | 
   25 | }
      | ~
Language: C

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

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

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

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

#include <studio.h>

int main(void)


{


int a,b;


printf("??´??°a?????\?????????????????????>>");


printf("??´??°b?????\?????????????????????>>");


if(a < b){


printf("a<b\n");


}


if(a > b){


printf("a>b\n");


}


if(a = b){


printf("a=b\n");


return 0;


}

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

int a, b, d=0, r=0;

double f=0;

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

d=a/b;

r=a%b;

f=a/b;

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

return 0;

}

Compiler output:
main.c:5:7: error: expected declaration specifiers or '...' before string constant
    5 | scanf("%d %d",&a, &b);
      |       ^~~~~~~
main.c:5:15: error: expected declaration specifiers or '...' before '&' token
    5 | scanf("%d %d",&a, &b);
      |               ^
main.c:5:19: error: expected declaration specifiers or '...' before '&' token
    5 | scanf("%d %d",&a, &b);
      |                   ^
main.c:7:1: warning: data definition has no type or storage class
    7 | d=a/b;
      | ^
main.c:7:1: error: type defaults to 'int' in declaration of 'd' [-Wimplicit-int]
main.c:7:1: error: redefinition of 'd'
main.c:1:11: note: previous definition of 'd' with type 'int'
    1 | int a, b, d=0, r=0;
      |           ^
main.c:7:3: error: initializer element is not constant
    7 | d=a/b;
      |   ^
main.c:9:1: warning: data definition has no type or storage class
    9 | r=a%b;
      | ^
main.c:9:1: error: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
main.c:9:1: error: redefinition of 'r'
main.c:1:16: note: previous definition of 'r' with type 'int'
    1 | int a, b, d=0, r=0;
      |                ^
main.c:9:3: error: initializer element is not constant
    9 | r=a%b;
      |   ^
main.c:11:1: warning: data definition has no type or storage class
   11 | f=a/b;
      | ^
main.c:11:1: error: type defaults to 'int' in declaration of 'f' [-Wimplicit-int]
main.c:11:1: error: conflicting types for 'f'; have 'int'
main.c:3:8: note: previous definition of 'f' with type 'double'
    3 | double f=0;
      |        ^
main.c:13:8: error: expected declaration specifiers or '...' before string constant
   13 | printf("%d %d %lf\n",d, r, f);
      |        ^~~~~~~~~~~~~
main.c:13:22: error: expected declaration specifiers or '...' before 'd'
   13 | printf("%d %d %lf\n",d, r, f);
      |                      ^
main.c:13:25: error: expected declaration specifiers or '...' before 'r'
   13 | printf("%d %d %lf\n",d, r, f);
      |                         ^
main.c:13:28: error: expected declaration specifiers or '...' before 'f'
   13 | printf("%d %d %lf\n",d, r, f);
      |                            ^
main.c:15:1: error: expected identifier or '(' before 'return'
   15 | return 0;
      | ^~~~~~
main.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
Language: C

#include<stdio.h>

int main(void){

int a, b, d=0, r=0, f=0;

double f=0;

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

d=a/b;

r=a%b;

f=a/b;

printf("%d %d %5lf\n",d, r, f);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:8: error: conflicting types for 'f'; have 'double'
    7 | double f=0;
      |        ^
main.c:5:21: note: previous definition of 'f' with type 'int'
    5 | int a, b, d=0, r=0, f=0;
      |                     ^
Language: C

#include <stdio.h>

int main(void)

{

int a,b,d,r,;

double f;

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

d=a/b;

r=a%b;

f=a/b;

printf("%d %d %5lf",&d,&r,&f);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:13: error: expected identifier or '(' before ';' token
    7 | int a,b,d,r,;
      |             ^
Language: C

#include<stdio.h>

int main(void)


{


int a,b;


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


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


retun 0 ;}

Compiler output:
main.c: In function 'main':
main.c:18:1: error: 'retun' undeclared (first use in this function)
   18 | retun 0 ;}
      | ^~~~~
main.c:18:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:18:6: error: expected ';' before numeric constant
   18 | retun 0 ;}
      |      ^~
      |      ;
Language: C

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

	scanf("%d %d",&a,&b);
	d=a/b;
	r=a%b;
	f=a/b;
	pirntf("%d %d %d",d,e,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected identifier or '(' before '?' token
    5 |         double???f;
      |               ^
main.c:10:9: error: 'f' undeclared (first use in this function)
   10 |         f=a/b;
      |         ^
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:9: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |         pirntf("%d %d %d",d,e,f);
      |         ^~~~~~
      |         printf
main.c:11:29: error: 'e' undeclared (first use in this function)
   11 |         pirntf("%d %d %d",d,e,f);
      |                             ^
Language: C

#include<stdio.h>

int main(void)

{

int a,b,d,r;

double f;

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

d=a/b;

r=a%b;

f=a/b;

printf("%d,%d,%lf",d,r,f);

return 0;

}

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

#include<stdio.h>

int main(void)

{

int a,b,d,r;

double f;

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

d=a/b;

r=a%b;

f=a/b;

printf("%d,%d,%8f\n",d,r,f);

return 0;

}

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

#include<stdio.h>

int main(void)

{

int a,b,d,r;

double f;

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

d=a/b;

r=a%b;

f=a/b;

printf("%d %d %lf",d,r,f);

return 0;

}

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

#include  <studio.h>
int main (void)
{
 int a,b,d,r;
 double f;
 scanf("%d,%d",&a,&b);
 d=a/b;
 r=a%b;
 f=a/b;
 printf("%d,%d,%d",d,r,f?\n);
 return 0;
}

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

#include  <studio.h>
int main (void)
{
 int a,b,d,r;
 double f;
 scanf("%d,%d",&a,&b);
 d=a/b;
 r=a%b;
 f=a/b;
 printf("%d %d %lf",d,r,f?\n);
 return 0;
}

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

#include    <studio.h>
int    main (void)
{
    int a,b,d,r;
    double f;
    scanf("%d,%d",&a,&b);
    d=a/b;
    r=a%b;
    f=(double)a/b;
    printf("%d %d %lf",d,r,f?\n);
    return 0;
}

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

#include<stdio.h>
#include<float.h>

int main(void){

int  a, b, d, r;
double f;

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

d = a/b;
r = a%b;
f = 1.0*a%b;

printf("%d %d %f\n",d, r, f);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:13:10: error: invalid operands to binary % (have 'double' and 'int')
   13 | f = 1.0*a%b;
      |     ~~~~~^
      |        |
      |        double
Language: C

#include <stdio.h>

int main(void)

{  
int a,b,d,r;    
double f;

d = a/b;
r = a%b;
f = a%b;

scanf("%d %d",&a, &b);
printf("%d %d %lf5\n,d,r,f);

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:8: warning: missing terminating " character
   14 | printf("%d %d %lf5\n,d,r,f);
      |        ^
main.c:14:8: error: missing terminating " character
   14 | printf("%d %d %lf5\n,d,r,f);
      |        ^~~~~~~~~~~~~~~~~~~~~
main.c:16:3: error: expected expression before 'return'
   16 |   return 0;
      |   ^~~~~~
main.c:16:12: error: expected ';' before '}' token
   16 |   return 0;
      |            ^
      |            ;
   17 | 
   18 | }
      | ~
Language: C

#include<stdio.h>

int main(void)

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;


f=(double)a/b;


printf("%d %d %.5lf",d,r,f);

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected declaration specifiers before 'd'
    9 | d=0,r=0,f=0.0;
      | ^
main.c:11:1: error: expected declaration specifiers before 'scanf'
   11 | scanf("%d,%d",&a,&b);
      | ^~~~~
main.c:13:1: error: expected declaration specifiers before 'd'
   13 | d=a/b;
      | ^
main.c:15:1: error: expected declaration specifiers before 'r'
   15 | r=a%b;
      | ^
main.c:18:1: error: expected declaration specifiers before 'f'
   18 | f=(double)a/b;
      | ^
main.c:21:1: error: expected declaration specifiers before 'printf'
   21 | printf("%d %d %.5lf",d,r,f);
      | ^~~~~~
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:22: error: expected '{' at end of input
Language: C

#include<stdio.h>

int main(void)

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;


f=(double)a/b;


printf("%d %d %lf",d,r,f);

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected declaration specifiers before 'd'
    9 | d=0,r=0,f=0.0;
      | ^
main.c:11:1: error: expected declaration specifiers before 'scanf'
   11 | scanf("%d,%d",&a,&b);
      | ^~~~~
main.c:13:1: error: expected declaration specifiers before 'd'
   13 | d=a/b;
      | ^
main.c:15:1: error: expected declaration specifiers before 'r'
   15 | r=a%b;
      | ^
main.c:18:1: error: expected declaration specifiers before 'f'
   18 | f=(double)a/b;
      | ^
main.c:21:1: error: expected declaration specifiers before 'printf'
   21 | printf("%d %d %lf",d,r,f);
      | ^~~~~~
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:22: error: expected '{' at end of input
Language: C

#include<stdio.h>

int main(void)

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;


f=(double)a/(double)b;


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

Compiler output:
main.c: In function 'main':
main.c:9:1: error: expected declaration specifiers before 'd'
    9 | d=0,r=0,f=0.0;
      | ^
main.c:11:1: error: expected declaration specifiers before 'scanf'
   11 | scanf("%d,%d",&a,&b);
      | ^~~~~
main.c:13:1: error: expected declaration specifiers before 'd'
   13 | d=a/b;
      | ^
main.c:15:1: error: expected declaration specifiers before 'r'
   15 | r=a%b;
      | ^
main.c:18:1: error: expected declaration specifiers before 'f'
   18 | f=(double)a/(double)b;
      | ^
main.c:21:1: error: expected declaration specifiers before 'printf'
   21 | printf("%d %d %lf\n",d,r,f);
      | ^~~~~~
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:22: error: expected '{' at end of input
Language: C

#include<stdio.h>

int main(void){

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;

f=(double)a/(double)b;

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

return 0}

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected ';' before '}' token
   21 | return 0}
      |         ^
      |         ;
Language: C

#include<stdio.h>

int main(void){

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;

f=(double)a/b;

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

return 0


}

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected ';' before '}' token
   21 | return 0
      |         ^
      |         ;
......
   24 | }
      | ~
Language: C

#include<stdio.h>

int main(void){

int a,b,d,r;

double f;

d=0,r=0,f=0.0;

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

d=a/b;

r=a%b;

f=(double)a/b;

printf("%d %d %.5lf\n",d,r,f);

return 0


}

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected ';' before '}' token
   21 | return 0
      |         ^
      |         ;
......
   24 | }
      | ~
Language: C

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

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

  d=a/b;
  r=a%b;
  f=(double)a/(double)b;

  printf("%d %d %lf\n",d,r,f);
  
  return 0;
}

Compiler output:
main.c:2:1: error: unknown type name 'imt'; did you mean 'int'?
    2 | imt main(void)
      | ^~~
      | int
Language: C

#include<stdio.h>

int main(void){


int a,b,d,r;


double f;


scanf("%d",&a);


scnaf("%d",%b);


d=a/b;


r=a%b;


f=(double)a/(double)b;


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:1: error: implicit declaration of function 'scnaf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   15 | scnaf("%d",%b);
      | ^~~~~
      | scanf
main.c:15:12: error: expected expression before '%' token
   15 | scnaf("%d",%b);
      |            ^