The value stored in variable s 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. the average of the numbers scanned
b. the sum of the numbers scanned
c. the largest of the numbers scanned
d. how many numbers were scanned
e. the sentinel value



b. the sum of the numbers scanned

Computer Science & Information Technology

You might also like to view...

The _________________________ architecture balances network traffic across multiple uplinks or redundant paths in order to reduce slow transfers and data loss.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is the difference between a computer’s architecture and its organization?

What will be an ideal response?

Computer Science & Information Technology

____ architecture provides a blueprint for Web page arrangement, Web site navigation, and page content organization.

A. Content B. Information C. Design D. Structure

Computer Science & Information Technology

Which of these is NOT a phase of the General Adaption Syndrome?

a. Alarm b. Resistance c. Excitement d. Exhaustion

Computer Science & Information Technology