Main.cc: In function 'int main()':
Main.cc:9:16: error: 'bx' was not declared in this scope
if(a%x==b%x&&bx%x==c%) {
^
Main.cc:9:24: error: expected primary-expression before ')' token
if(a%x==b%x&&bx%x==c%) {
^