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