Chapter4_1-ControlStructuresIntro

page 5 dr s gannouni dr a touir introduction to oop

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: myNumber is odd true otherwise • Relational operators are always performed last!! Page 5 Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP Logical Operators Symbol Operator Name && || ! AND OR NOT && T F || T F T T F T T T F F F F T F T ! Page 6 F F T Dr. S. GANNOUNI & Dr. A. TOUIR Introduction to OOP Boolean Expressions • Boolean expression is an expression that is evaluated to a boolean value. • Atomic Boolean expression uses one and only one of the relational operators. • myBalance <= yourBalance • Complex Boolean ex...
View Full Document

Ask a homework question - tutors are online