/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'double *' [-Wformat=]
scanf("%d %d",&a,&b);
^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'double *' [-Wformat=]
scanf("%d %d",&a,&b);
^
/in/foo.c:13:3: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
print("%.6f",b);
^~~~~
/tmp/ccRpAnuN.o: In function `main':
foo.c:(.text.startup+0x3c): undefined reference to `print'
collect2: error: ld returned 1 exit status