0_0_30029169_768.cpp: In function 'int main()': 0_0_30029169_768.cpp:9:24: error: 'scanf_s' was not declared in this scope while (scanf_s("%d",&n)!=EOF && n) ^