Main.cc: In function 'int main()': Main.cc:5:27: error: expected ')' before numeric constant printf("%.3lf",(a+b+c)/3 39/a 39%a 39/b 39%b 39/c 39%c); ^ Main.cc:5:56: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] printf("%.3lf",(a+b+c)/3 39/a 39%a 39/b 39%b 39/c 39%c); ^