Main.cc: In function 'int main()': Main.cc:9:24: error: expected ')' before 'b' scanf ("%d %d\n",a b); ^ Main.cc:9:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double' [-Wformat=] scanf ("%d %d\n",a b); ^ Main.cc:9:25: warning: format '%d' expects a matching 'int*' argument [-Wformat=]