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

Determine how many solutions exist for the system of equations. Y=2x-9 Y=-x+6
need help with both questions!
A bouquet of flowers were displayed in the window of the department store, which was advertising for its spring sale. What changes should be made to correct the
A customer went to a garden shop and bought some potting soil for $12.50 and 6 shrub. If the total bill was $71.00 how Mich did each shrub cost if they all cost
Who was a Scottish missionary and explorer? A. David Livingstone B. Cecil Rhodes C. Benjamin Disraeli
with the vital assistance of ,theodore roosevelt established the first comprehensive national conservation policy.
Which of the following represents the belief used to justify westward expansion of America''s borders in the 1800s? (5 points) Monroe Doctrine Manifest Destiny
How is Renaissance movement characterized, in thought, writing, and art, as the evolutionary bridge between the Middle Ages and the Renaissance period (1300-160
need help with both questions!
explain why bacteria in the soil are necessary in this ecosystem