Перейти к содержанию
English

One speed, three outcomes

  • A speed camera: 120 or more loses the licence, 100 or more is a fine, and anything lower is ok.
  • One IF has two paths. The second decision goes inside the ELSE, as its own IF.
  • Each IF has its own ENDIF. Indent the inner one so you can see which ELSE it belongs to.

An outer IF tests Mark >= 80; only when it is FALSE does the inner IF test Mark >= 50, giving Pass or Fail

Раздаточный материал

Войти или создать аккаунт

IGCSE, A-Level & AP