/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 %d",&a,&m,&k);
^
/in/foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'double *' [-Wformat=]
scanf("%d %d %d",&a,&m,&k);
^
/in/foo.c:6:16: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'double *' [-Wformat=]
scanf("%d %d %d",&a,&m,&k);
^
/in/foo.c:9:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
}else{n=(a/20-m)*k;printf("%d",n);
^