diff options
-rw-r--r-- | 4p12.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -4,18 +4,22 @@ * * 4.12 * - * + * These conditions make my head spin its actually so confusing to think about... */ int main () { - int i = 1; + int i = 0; int j = 9; int k = 10; + // true == >0 + // false == 0 + // i != >0 + // AKA + // i == 0 + //then print ... if(i != (j < k)) { // j < k is evaluated first - // because j < k now it will return true - // When 'i' is NOT true(aka NOT 0) then print below std::cout << "..." << std::endl; } |