go top

有道翻译

条件语句如果语句

Conditional statement If statement

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • while语句定义了一个语句集合如果WHILE循环开始时某个条件求值结果false,那么就执行这个语句集合。

    The WHILE statement defines a set of statements to be executed until a condition that is evaluated at the beginning of the WHILE loop is false.

    youdao

  • REPEAT 语句定义了一个语句集合如果 REPEAT 循环结束时某个条件求值结果 true那么执行这个语句集合。

    The REPEAT statement defines a set of statements to be executed until a condition that is evaluated at the end of the REPEAT loop is true.

    youdao

  • 虽然语句会让代码结构看着比较清晰明显,但套的条件语句起来还是有点难度所以建议如果可以的话,尽量避免使用嵌套的条件判断。

    Although the indentation of the statements makes the structure apparent, nested conditionals become difficult to read very quickly. It is a good idea to avoid them when you can.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定