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