Main.cc: In function 'int main()': Main.cc:5:11: error: expected primary-expression before '%' token scanf(%lf,&a,&b); ^ Main.cc:5:12: error: 'lf' was not declared in this scope scanf(%lf,&a,&b); ^