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

Diabetes can result in a high level of sugar in the blood. Which abbreviations would most likely be on the chart of a patient with diabetes?
What does it mean when ones ideas must be broad as nature if they are to interpret nature?
What is an equation of the line that passes through the point (-3, 4) and is parallel to the line 2x – 3y = 15?
Use sigma notation to represent the sum of the first six terms of the following sequence: −10, −13, −16, …
Give your answer in its simplest form.
Tara wants to cut ribbon for presents. The roll is 6 feet long and she is cutting it into sections that are into sections measuring 9/5 inches long. How many r
What did Daniel Webster think
1/2,-4,32,-256 find an explicit formula for the sequence
a box weighing 155 N is pushed horizontally down the hall at constant velocity. the applied force is 83 n what is the coefficient of friction between the box an
3. Sherri bought a package of pens that contained 15 pens. How many packages should shebuy if she needs 240 pens?​