What will the value of average be after the given code is executed?

```
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. 5
b. 9
c. 3
d. 4.78


c. 3

Computer Science & Information Technology

You might also like to view...

You have been hired to help a small company set up its Windows network. It has 20 users, and it has no plans to expand. What version of Windows Server 2016 would you recommend?

A. Windows Server 2016 Datacenter B. Windows Server 2016 Standard C. Windows Server 2016 Essentials D. Windows Server 2016 Datacenter (Desktop Experience)

Computer Science & Information Technology

A robot which moves and acts much like a human is a(n) ________.

A. empathetic agent B. intelligent personal assistant C. embedded operator D. embodied agent

Computer Science & Information Technology

If desired, you can change the default ____ foreground and background colors in a text box.

A. pattern B. fill C. shape D. template

Computer Science & Information Technology

What does the permission string -rwxrwx--- mean?

What will be an ideal response?

Computer Science & Information Technology