/in/foo.c:1:2: error: invalid preprocessing directive #inlcude
#inlcude<stdio.h>
^~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:5:4: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d", &a);
^~~~~
/in/foo.c:5:4: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:5:4: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:8:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d", total);
^~~~~~
/in/foo.c:8:4: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:8:4: note: include '<stdio.h>' or provide a declaration of 'printf'