Main.cc: In function 'int main()':
Main.cc:4:15: error: redeclaration of 'int y2'
int x1,x2,y2,y2;
^
Main.cc:4:12: note: 'int y2' previously declared here
int x1,x2,y2,y2;
^
Main.cc:6:28: error: 'y1' was not declared in this scope
scanf("%d%d%d%d",&x1,&x2,&y1,&y2);
^
Main.cc:11:2: error: expected ';' before '}' token
}
^