Solved

Consider the Following Code \quad Cin >> Entry; \quad Triple = Entry * 3;

Question 6

Multiple Choice

Consider the following code.
int limit;
Int reps = 0;
Cin >> limit;
While (reps < limit)
{
\quad Cin >> entry;
\quad Triple = entry * 3;
\quad Cout << triple;
\quad Reps++;
}
Cout << endl;
This code is an example of a(n) ____ while loop.


A) flag-controlled
B) counter-controlled
C) EOF-controlled
D) sentinel-controlled

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions