What is the value of sum at the end of the given code snippet?

```
var num = 2; var sum = 0; var average = 0;
for (var count = 0; count < 3; count++)
{
sum = sum + num;
num++;
}
average = parseInt)sum/count);
```

a. 9
b. 5
c. 14
d. 12


a. 9

Computer Science & Information Technology

You might also like to view...

To pop an element off the top of a stack for processing:

a. Use member function top. b. Use member function pop. c. Use member function top and then member function pop. d. Use member function pop and then member function top.

Computer Science & Information Technology

What is used to identify and communicate an attacker's perspective?

A. Design pattern B. Attack pattern C. Attack plan D. Design plan

Computer Science & Information Technology

What conditions make using three-point estimating justifiable?

What will be an ideal response?

Computer Science & Information Technology

You cannot create columns within a text object.? ____________________

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

Computer Science & Information Technology