Assume that i = 1, j = 2, k = 3 and m = 2. What does each of the following statements print?

```
a) cout << (i == 1) << endl;
b) cout << (j == 3) << endl;
c) cout << (i >= 1 && j < 4) << endl;
d) cout << (m <= 99 && k < m) << endl;
e) cout << (j >= i || k == m) << endl;
f) cout << (k + m < j || 3 - j >= k) << endl;
g) cout << (!m ) << endl;
h) cout << (!(j - m)) << endl;
i) cout << (!(k > m)) << endl;
```


a) 1.
b) 0.
c) 1.
d) 0.
e) 1.
f) 0.
g) 0.
h) 1.
i) 0.

Computer Science & Information Technology

You might also like to view...

You can change paragraph spacing by keying a value in the Spacing Before or Spacing After boxes in the Paragraph group on the ____________________ tab.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In negative scorekeeping, players start with a certain number of points and lose points as they make errors, or as time goes by.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____ the physical equipment associated with a computer.

A. Computer hardware is B. Computer software is C. Computer programs are D. Computer cables are

Computer Science & Information Technology

When the TAB key is pressed, a(n) ____________________ formatting mark appears in the empty space between the tab stops.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology