/in/foo.c: In function 'main':
/in/foo.c:9:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d",&d)
^~~~~
/in/foo.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:10:2: error: expected ';' before 'if'
if(d<=2)
^~
/in/foo.c:7:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
/in/foo.c:6:6: warning: unused variable 'c' [-Wunused-variable]
int c;
^
/in/foo.c:5:6: warning: unused variable 'b' [-Wunused-variable]
int b=1;
^
/in/foo.c:4:6: warning: unused variable 'a' [-Wunused-variable]
int a=1;
^