Chaining if-else Statements
This lesson explains how if-else statements can be chained together to achieve more complex coding goals.
We'll cover the following...
The "if
, else if
, else
" chain #
One of the powers of statements and expressions is the ability to use them in more complex ways. In addition to expressions, scopes can contain other statements. For example, an else
scope can contain an if
statement. Connecting statements and expressions in different ways allow us to make programs behave ...
Access this course and 1400+ top-rated courses and projects.