哭了,请教翻译啊谢谢

来源:百度知道 编辑:UC知道 时间:2024/06/21 02:10:22
A loop can be terminated within the body of its code sequence by the
execution of a break statement. In the following code fragment, for
example, the while loop executes until tries_cnt equals max_tries. If the
user guesses the correct answer, however, the loop is terminated using
the break statement:

在循环的代码序列体之内通过执行 break 语句可以终止循环。比如在下列代码片断中,while 循环在 tries_cnt 等于 max_tries 之前保持执行。然而,如果用户猜到了正确的答案,就用 break 语句终止循环。

一个环能在它的密码序列的身体里面被结束被那
休息陈述的实行。 在下列的密码中碎片, 为
例子, 一会儿环运行到 tries_cnt 对手 max_tries。 如果那
使用者猜测正确的答案,然而, 环被结束使用
休息陈述:

一个循环可能因为一个错误的声明而终止
。。。。

是不是计算机文化里的内容啊

循环可以通过执行在其内部代码中的break语句来结束(即退出循环体)。比如,在下面的代码片断中,while循环本来要一直执行(其内部的语句)直到tries_cnt与max_tries相等了才能结束。但是,如果用户猜到了正确的答案,那么循环就会由执行break语句而结束。

sdsd