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

Software that people commonly use in the workplace to make their lives easier is called what?
The isosceles triangle theorem says \"if two sides of a triangle are congruent, then the angles opposite those sides are congruent\". . . If you are using this
What are the responsibilities of the MPC
2(2x - 4) + x = 7 whats x?
Ryan has nine 14_ounce of popcorn to repackage and sell at the fair.A small bag holds 3 ounces.How many small bags can he make?
Jeremy opens a chocolate shop in the city. He pays $1,500 a month for rent and maintenance of the shop. The price of raw materials and manufacturing the chocola
what are the coordinates of the vertex for f(x) =3x^2+6x+3
when a measurement in inches is converted to centimeters, will the number of centimeters be greater or less than the number of inches? Explain.
Cellular metabolism extracts and releases energy like a wild fire. True False
Which value for A satisfies the equation 3 - 4(1 + A) = 7? A = -2 A = -6 A = 2 A = 6