0_0_17554843_1915.cpp: In function 'int main()': 0_0_17554843_1915.cpp:6:22: error: lvalue required as left operand of assignment while(scanf("%lf",&n)=EOF) ^ 0_0_17554843_1915.cpp:9:1: error: expected ';' before 'printf' printf("%2lf\n",m); ^