Conditionals
Students will recreate a Model program that will teach them how to create nested If/Then/Else statements: Mobile / You Tube
Boolean - A general programming term that involves values that are only true or false.
Example: 5 > 3 (true) or 10 == 15 (false)
Conditionals - Conditionals are a type of Boolean expressions that evaluate to either true or false.
if/then/ else _ Example
- if condition then
- consequent
- else
- alternative
if/then/else if/else _ Example
- if condition1 then
- consequence
- else if condition2 then
- consequence
- else
- alternative