What value will the highest variable contain when the loop finishes?

Look at the following code sample:

```
int[] numbers = { 1, 2, 3, 4, 5 };

int highest = numbers[0];

for (int index = 1; index < numbers.Length; index++)
{
if (numbers[index] > highest)
{
highest = numbers[index];
}
}

```

a. 1
b. 3
c. 5
d. 15


c. 5

Computer Science & Information Technology

You might also like to view...

Opening HTML tags are enclosed within ________

A) ( ) B) { } C) < > D) [ ]

Computer Science & Information Technology

A top-level domain name is also called a suffix.

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

Computer Science & Information Technology