/in/foo.cc: In function 'int main()':
/in/foo.cc:16:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:20:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:24:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:28:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:32:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:36:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^
/in/foo.cc:40:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
printf("%.1f",b);
^