int main() { whlie(1) { printf("%s\n", "选择题号,按Q退出"); if (ch = 'q' || ch = 'Q') break; // Dosomething } }