Skip to content · ⁨Saltar al contenido⁩

Booleans and selection: if/else and logic · ⁨Booleanos y selección: if/else y lógica⁩

English

Booleans and selection

  • A boolean is a value that is either true or false.
  • Programs make choices by testing a boolean and running different code.
  • In this lesson you learn if / else if / else and how to build conditions.
Español

Booleans y selección

  • Un booleano es un valor que es true (verdadero) o false (falso).
  • Los programas toman decisiones probando un booleano y ejecutando diferente código.
  • En esta lección aprenderás if / else if / else y cómo construir condiciones.

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP