The loop can best be categorized as a __________.

```
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. counter-controlled loop
b. sentinel-controlled loop
c. loop that computes a product
d. general conditional loop
e. none of the above


a. counter-controlled loop

Computer Science & Information Technology

You might also like to view...

?As the author, you can edit a published Sway site by clicking the__________. 

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

Computer Science & Information Technology

____________ authentication means the identity of both parties is verified.

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

Computer Science & Information Technology

The while statement is a general repetition statement.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Dotted vertical and horizontal lines that display in the rulers indicating the pointer's position are called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology