Solved

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

Question 10

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents