Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 22:12, 9 August 2025 by Dylan (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Selection involves making a decision based on whether a condition is true or false.

They allow us to branch our code: do different things depending on the input.

Types of selection

edit edit source

There are two main types of selection in programming languages: