The program's effect can best be described as __________.

```
char r, x, y, z, w;

scanf("%c%c%c%c", &x, &y, &z, &w);
if (x < y)
r = x;
else
r = y;
if (r > z)
r = z;
if (r > w)
r = w;
printf("%c\n", r);
```

a. It displays the letter 'r' after comparing it to x, y, and z.
b. Of the four input characters, it displays the one that comes first in the alphabet.
c. Of the four input characters, it displays the one that comes last in the alphabet.
d. Of the four input characters, it displays the one that comes second in the alphabet.
e. It displays nothing since characters cannot be compared


b. Of the four input characters, it displays the one that comes first in the alphabet.

Computer Science & Information Technology

You might also like to view...

What will be printed when the following code is executed?

``` double x = 45678.259; System.out.printf("%,.2f", x); ``` a. 45678.259 b. 0,045,678.26 c. 45,678.26 d. 45,678.3

Computer Science & Information Technology

From the previous question, what form of coersion does F:=R represent?

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

Computer Science & Information Technology

XML Schema divides its user-derived data types into two classes: primitive and derived.

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

Computer Science & Information Technology

The__________ statement is used to make decisions.

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

Computer Science & Information Technology