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