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