Which of the following is considered a multiple-alternative if statement?

```
a. if (x < y)
r = r + 1;
else if (x > y)
r = r - 1;
else

r = 0;

* b.if (x == y)
x = x + 1;
else

y = y + 1;

c. if (x == y)
cout << y;
if (x == t)
cout << t;

d. if (x == y)
if (t == m)
r = r + 1;

e. None of the above.
```


```
b.if (x == y)
x = x + 1;
else
y = y + 1;
```

Computer Science & Information Technology

You might also like to view...

____ stores screen images as they are processed but before they are displayed.

A. A sound card B. Video memory C. A graphics card D. A computer

Computer Science & Information Technology

The accompanying diagram depicts a truth table.

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

Computer Science & Information Technology

As parameters to functions, class objects can be passed only by reference.

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

Computer Science & Information Technology

Usually, the first laptop upgrade is to add more _______________.

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

Computer Science & Information Technology