thenusuperstar7444 thenusuperstar7444
  • 02-12-2019
  • Computers and Technology
contestada

Consider the following code. int limit; int reps = 0; cin >> limit; while (reps < limit) { cin >> entry; triple = entry * 3; cout << triple; reps++; } cout << endl; This code is an example of a(n) ____ while loop

Respuesta :

Khoso123
Khoso123 Khoso123
  • 04-12-2019

Answer:

counter-controlled

Explanation:

Consider the following code. int limit; int reps = 0; cin >> limit; while (reps < limit) { cin >> entry; triple = entry * 3; cout << triple; reps++; } cout << endl; This code is an example of a(n) counter-controlled while loop

Answer Link

Otras preguntas

(3 pt) Which were artistic achievements under the Ming dynasty in China? Choose all answers that are correct. A. lacquered trays, bowls, and boxes B. dragon
I need help with this question...Its in the picture...
Why is something that stores chemical energy?
The formula below gives V, the velocity in feet per second of a falling object t seconds after it has been dropped. V(t) = 32t If a piano is dropped off a cli
What is the reason that closely linked genes are typically inherited together?
What type of government did john locke believe in?
What would likely have happened if Odysseus had listened to his crew upon arriving at the cave? 1.They all would have been killed. 2.They never would have go
A girl wants to count the steps of a moving escalator which is going up if she is going up she counts 60 steps if she is going down taking the same time per ste
The yellow lines on this globe represent:
How did most Indus Valley people earn a living?