为什么 keep choosing这一句话重复打印了?
收起
while (true) { int n = scanf("%c", &x); if (n != 1 || x == 'q') break; ... }
报告相同问题?