0_0_38550767_20659.cpp: In function 'int main()': 0_0_38550767_20659.cpp:7:45: error: lvalue required as left operand of assignment while(scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2)=!EOF){ ^