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
  • Comment สั้นๆ พร้อม // บอกว่า block นั้นใช้ทำอะไร

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP