0_0_17555018_1781.cpp: In function 'int main()': 0_0_17555018_1781.cpp:5:28: error: expected primary-expression before '!=' token while(scanf("%d",&n)==1&&n)!=EOF) ^