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