The value stored in variable z at the end of the execution of the loop could best be described as __________.

```
z = 0;
g = 0;
s = 0;
i = 0;
while (i < 50) {
scanf("%d", &t);
s = s + t;
if (t >= 0)
g = g + 1;
else
z = z + 1;
i = i + 1;
}
```
a. how many positive items were scanned
b. the sum of all positive items scanned
c. how many negative items were scanned
d. the sum of all negative items scanned
e. the sentinel value


c. how many negative items were scanned

Computer Science & Information Technology

You might also like to view...

By default, Word saves your file in the _____ folder.

A. My Documents B. Word Documents C. Documents D. Word Files

Computer Science & Information Technology

You can customize the Quick Access Tool bar

Indicate whether the statement is true or false

Computer Science & Information Technology

Choose the sentence that demonstrates correct punctuation.?

A. ?"September 11, 2001," a book written by a firefighter, is on the bestsellers list. B. ?September 11, 2001, a book written by a firefighter, is on the bestsellers list. C. ?September 11, 2001, a book written by a firefighter, is on the bestsellers list.

Computer Science & Information Technology

A network with multiple devices needs to have a smaller broadcast domain while working with a small budget. Which of the following is the BEST solution?

A. Create VLANs. B. Implement more hubs. C. Implement more switches. D. Assign static IPs

Computer Science & Information Technology