Skip to content

Putting it together · ⁨综合运用⁩

English

One program uses several constructs

  • A 9618 answer mixes DECLARE, ←, IF … THEN, FOR and OUTPUT.
  • Indent the body of a loop. Put THEN on the IF line.
  • A short comment with // says what a block is for.
中文

一个程序用上几种结构

  • 一份 9618 答案会把 DECLARE、←、IF … THEN、FOR 和 OUTPUT 写在一起。
  • 循环体要缩进。THEN 放在 IF 那一行。
  • 用 // 写一句短注释,说明这一段是做什么的。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩