Presentation is loading. Please wait.

Presentation is loading. Please wait.

Boolean Values The true story ;=P. Expressions.

Similar presentations


Presentation on theme: "Boolean Values The true story ;=P. Expressions."— Presentation transcript:

1 Boolean Values The true story ;=P

2

3 Expressions

4 Relational Operators

5

6

7 Logical Operators

8 Truth Tables

9 Logical Operators

10

11 Precidence

12 Logical Operators Exercise 1 Elbow Pairs

13 Logical Operators Exercise 2

14 Boolean Algebra

15 de Morgan’s Law Version 1

16 de Morgan’s Law Version 2

17 de Morgan’s Law

18

19 What to do? O Statement a= your Practice Its are complete O Statement b = you have an A if (!(a) || !b) { System.out.println(“Let’s get busy NOW”); }else if !(a ||b) { System.out.println(“You Have Work To Do, so get busy.”);} else System.out.println(“Program the game Pig”);


Download ppt "Boolean Values The true story ;=P. Expressions."

Similar presentations


Ads by Google