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