Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'float*' [-Wformat=]
printf("%.2f",&sum);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:20: warning: format '%f' expects argument of type 'double', but argument 2 has type 'float*' [-Wformat=]
printf("%.2f",&sum);
^