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...
A(n) ________ is a specific location on a line of text marked on the Word ruler to which you can move the insertion point by pressing TAB
A) separator B) dot leader C) anchor D) tab stop
Computer Science & Information Technology
An SSD drive generally has equal storage capacity of a mechanical drive for a comparable cost
Indicate whether the statement is true or false
Computer Science & Information Technology