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);
^
Main.cc:6:15: error: cannot convert 'double' to 'const char*' for argument '1' to 'int printf(const char*, ...)'
printf(a/b);
^