19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1 RELATIONAL AND LOGICAL OPERATORS<br />

A condition is an expression involving relational operators (such as < <strong>and</strong> =) that is either<br />

true or false. Conditions also may incorporate logical operators (such as And, Or, <strong>and</strong> Not).<br />

The relational operator less than ( > greater than follows alphabetically<br />

≤ = greater than or equal to follows alphabetically or is<br />

identical to<br />

EXAMPLE 1<br />

Determine whether each of the following conditions is true or false.<br />

(a) 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!