What will be the results after the following code is executed?

```
int[] x = { 55, 33, 88, 22, 99, 11, 44, 66, 77 };
int a = 10;
if(x[2] > x[5])
a = 5;
else
a = 8;
```

a. a = 5
b. a = 8
c. a = 10
d. a = 13

a. a = 5

Computer Science & Information Technology

You might also like to view...

Computer simulations can

a. accurately predict the weather a month in advance. b. save automobile manufacturers time and money as they develop new cars. c. prove our planet is overpopulated. d. All of the above e. None of the above

Computer Science & Information Technology

Using computer systems to launch a terrorist attack is an example of which of the following?

A) Computer-based espionage B) Information warfare C) Cyber terrorism D) Hacktivism

Computer Science & Information Technology