Consider the following code. 
int limit;int reps = 0;cin >> limit;while (reps < limit){  cin >> entry;  triple = entry * 3;  cout

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


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following is not an element of a story?

A) The call to adventure B) The call to action C) The transformation D) The epilogue

Computer Science & Information Technology

Instance variables of type int are given the value ______ by default.

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

Computer Science & Information Technology

Which Windows utility program is used to exit out of a program that has stopped responding?

A) Task Manager B) Program Manager C) Disk Cleanup D) Disk Defragmenter

Computer Science & Information Technology

In a Server Core installation, an administrator should use what utility to configure Windows Update beyond the basic default settings?

A. sconfig B. dism C. netsh D. Registry Editor

Computer Science & Information Technology