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

Given the replacement set (2,3,4,5) solve 7x - 4 = 3x + 8
for work to be accomplished we must have (2 points) a)an action which causes movement and an opposite reaction. b)an action which causes no movement or reaction
Which values for x and y make the statement (x + 5)(y - 6) = 0 true? x = 5, y = -6 x = 5, y = 6 x = -5, y = 6 x = -5, y = -6
which expression is equivalent to the algebraic expression below? -4w(3x-5) A. -x-5 B. -x-9 C. -12x+20 D. -12x-5
multiply (-4)(-2)(-5)
where did the portuguese language com from
the mean for 0 1 3 2
which of the following documents influenced the american colonists to feel that their rights were not being protected? mayflower compact english bill of rights
the viscosity of water is a. high. b. low. c. the same as all liquids.
identify the connective tissue that works like a lever, allowing a muscle to contract and pull on a bone in a way that makes the bone move. a) periosteum b) ten