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

if we have 6,000 movies and 3/5 were borrowed . how many movies were borred
what is 36 minutes as a fraction of an hour ?
Thomas Hobbes believed that citizens must __________ in exchange for order? give up some of their liberties demand to receive all their rights remove absolute
Which historical document gave control of trade and printing money to the original thirteen states? Which historical document transfered those powers to the fed
solve inequality and graph 3<-5n+2n
The SI unit of power is the
While researching a history paper, you see a graph that shows federal spending on defense in the past 200 years. You notice that federal spending throughout the
Copy each statement. Insert +,-,x, or ÷ symbols to make this statement true. 33-3-2-5=1
Rick won 27 tickets playing a game. To get a prize, he needs to win at least 30 tickets. How many more tickets can he win to get a prize?
Look down for question