Main.cc: In function 'int main()':
Main.cc:6:11: error: expected primary-expression before '%' token
scanf(%d a,b)
^
Main.cc:6:12: error: 'd' was not declared in this scope
scanf(%d a,b)
^
Main.cc:5:9: warning: unused variable 'a' [-Wunused-variable]
int a,b;
^