Download presentation
Presentation is loading. Please wait.
1
Conditionals
2
Boolean Algebra
3
Boolean Logic Invented by George Boole
Boolean logic is the basis for modern computer logic. Works only with binary values (that is two values) A cubby hole that holds either true or false George Boole was an english mathematician and philosopher. Born 1815, died 1864.
4
Is greater than or equal to
Boolean expressions Operator Meaning == Is equal to != Is not equal > Is greater than < Is less than >= Is greater than or equal to <= Is less than or equal to Creates a Boolean value from numbers or strings
5
Conditionals
6
IF … THEN … ELSE if (MUST BE LOWERCASE)
No else: do nothing if not true else: one or the other else if: nested function
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.