Skip to content

if / else

Making decisions

  • if (test) { ... } runs its block only when the test is true.
  • else gives the path to take when the test is false.

Log in or create account

IGCSE & A-Level