Run id: 97892

Main.c: In function 'main':
Main.c:5:8: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'double *' [-Wformat=]
  scanf("%d",&a);
        ^
Main.c:7:12: error: invalid operands to binary % (have 'double' and 'int')
  c=(a/1000)%10;
            ^
Main.c:8:11: error: invalid operands to binary % (have 'double' and 'int')
  d=(a/100)%10;
           ^
Main.c:9:10: error: invalid operands to binary % (have 'double' and 'int')
  e=(a/10)%10;
          ^
Main.c:10:5: error: invalid operands to binary % (have 'double' and 'int')
  f=a%10;
     ^
Main.c:12:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  printf("%d\n",s);
         ^
Main.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&a);
  ^