Skip to content

Putting it together

One program uses several constructs

  • A 9618 answer mixes DECLARE, , IFTHEN, 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.

Handout

Log in or create account

IGCSE, A-Level & AP