Main.cc: In function ‘int main()’:
Main.cc:7:6: error: ‘y’ was not declared in this scope
if((y-x)%==0){
^
Main.cc:7:8: error: ‘x’ was not declared in this scope
if((y-x)%==0){
^
Main.cc:7:12: error: expected primary-expression before ‘=’ token
if((y-x)%==0){
^