nWhen the OR (||) is
used with two simple expressions, the condition
is satisfied if either one or both of the
two expressions is true.
n(age > 40) ||
(term < 10)
n if ( ( x > 0) || ( (y
–x) > 3 ) )
n cout << “Good
Morning!” << endl;
n cout << “Good
Afternoon!” << endl;
n//will print: Good Morning!
n