How many times is the loop body of the while statement executed?
```
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. once
b. never
c. 49 times
d. 50 times
e. until a number 50 or larger is entered
d. 50 times
You might also like to view...
To return an array of long values from a method, which return type should be used for the method?
a. long[ARRAY_SIZE] b. array c. long[] d. long
________ is the protocol stack that runs on the Internet, and because of this, it is also the protocol stack that runs on most LANs
Fill in the blank(s) with correct word
?Among the symbols in the accompanying figure, a _____ is a path for data to move from one part of the information system to another.
A. ?data store B. ?data flow C. ?process D. ?gray hole
If you draw a square frame and then a circle frame next to it, they are both on the same level.
Answer the following statement true (T) or false (F)