Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在选择随机的问题和答案。我想在用户选择正确答案后再次生成新的问题和答案。如果没有 for 循环,我怎么能做到这一点?有没有像“去”这样的代码?
“Goto”循环通常不受欢迎——考虑使用while循环吗?