Main.cc: In function 'int main()': Main.cc:17:2: error: expected ')' before numeric constant 1) ; ^ Main.cc:17:3: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] 1) ; ^