summaryrefslogtreecommitdiff
path: root/4p12.cpp
blob: 74442e4f536371792aa4a70c90209f8d002e73b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <iostream>

/*
 *
 * 4.12
 *
 *
 */

int main () {

	int i = 1;
	int j = 9;
	int k = 10;

	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;
	}
	
	return 0;
}