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