// Illustrates the use of logical AND (&&) and logical OR (||). Note // that || is inclusive OR, not exclusive OR (see the output to Combo 4). #include void main(){ int a=4, b=6; a += b; b--; if ((a>b) && (b==5)) cout << "Combo 1 is TRUE\n"; if ((a==10) && (b<5)) cout << "Combo 2 is TRUE\n"; if ((a==10) || (b<5)) cout << "Combo 3 is TRUE\n"; if ((a==10) || (b==5)) cout << "Combo 4 is true\n"; }