Usage
- alternative operators: as an alternative for
&&
Example
1 2 3 4 5 6 7 8 9 10 | #include <iostream> int n; int main() { if (n > 0 and n < 5) { std::cout << "n is small and positive\n" ; } } |
&&
1 2 3 4 5 6 7 8 9 10 | #include <iostream> int n; int main() { if (n > 0 and n < 5) { std::cout << "n is small and positive\n" ; } } |
Designed by : w10schools
service@w10schools.com
Please login to continue.