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

Which key correctly represents the information below? A. 11 | 2 = 12 B. 1 | 2 = 12 C. 11 | 2 = 112 D. 11 | 2 = 13
Decide whether the two figures are similar. . Triangle A: (1,4), (3, 5), (4,2) Triangle B: (0, 5), (4,7), (6, 1)
a Aldo went to Wal-Mart and bought a stereo for $65.00. He received a 30% discount. How much did Aldo pay for the stereo?
describes a time when you were a positive influence for a child.
quizz plsss helppppppp
Question 2 Use the equation y =3() ОА to determine the value of y if x = -2. 3 B حرا 4 9 с 3 4 D 12
5 friends wanted to share a half-dozen pack of donuts. How many donuts did they each get to eat
What happens to light when it is captured by a material? plz, help meeeee!!!!! TwT
Solve the equation for x. x² = 36 The solutions to the equation are?​
I don’t understand this at all and I hate stats plz help