计算机专业英语翻译1

来源:百度知道 编辑:UC知道 时间:2024/05/10 04:40:30
Writing Conditional and Loop Statements
By default, statements are executed once in sequence, beginning with
the first statement of main(). In the preceding section, we had a peek at
the if statement. The if statement allows us to execute conditionally
one or a sequence of statements based on the truth evaluation of an
expression. An optional else clause allows us to test multiple truth
conditions. A looping statement allows us to repeat one or a sequence of
statements based on the truth evaluation of an expression. The following
pseudo-code program makes use of two looping statements (#1 and #2), one
if statement (#5), one if-else statement (#3), and a second conditional
statement called a switch statement (#4).

问题补充:写作有条件的和环陈述
预先设定地,陈述在序列中曾经被运行, 由
主要部份的第一份陈述.() 在前的区段中,我们有了偷看在
那如果陈述。 那如果陈述允许我们有条件地运行
一或陈述的序列基于事实评估一
表达。 一个可选择的别子句允许我们测试多样的事实
情况。 一个使陈述成环允许我们重复一或序列
陈述基于表达的事实评估。 下列各项
假- 密码计画利用二使陈述 (#1 和 #2) 成环, 一
如果陈述 (#5), 一如果- 别的陈述 (#3), 和第二有条件的
陈述呼叫了一份开关陈述。 (#4)