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