/in/foo.cc: In function 'int main()':
/in/foo.cc:16:6: error: expected primary-expression before 'if'
16 | if(b+d+f>0)
| ^~
/in/foo.cc:23:30: error: lvalue required as left operand of assignment
23 | if (a*d*e+b*c*e+a*c*f-b*d*f=0)
| ~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc:28:30: error: cannot convert 'std::basic_ostream<char>::__ostream_type' {aka 'std::basic_ostream<char>'} to 'char' in assignment
28 | cout<<a+c+e<<x<<b+d+f<<"i"<<endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| |
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}