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