Main.cc: In function ‘int main()’:
Main.cc:5:9: error: expected primary-expression before ‘%’ token
printf(%d,%d,a,b);
^
Main.cc:5:10: error: ‘d’ was not declared in this scope
printf(%d,%d,a,b);
^
Main.cc:5:12: error: expected primary-expression before ‘%’ token
printf(%d,%d,a,b);
^
Main.cc:7:14: error: lvalue required as left operand of assignment
if(a==12&&b=36) cout<<"687,688";
^~