Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
C++ Programming

Tests - OR of two conditions ||

 

Tests

Tests - OR of two conditions ||

1. [ C++ ] &&


Big

There are several logical operators:

&&
||
!
^
We can check two conditions using OR ||

Which countries have big population or a big area. (population over 100 million, area over 5 million)

Note that Antartica has a big area but a small population, Japan has a big population but a small area. China has both.