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

Protein synthesis is compared to baking a cake in the textbook, but the process can also be compared to building a doghouse. sondra wanted to build a doghouse a
what area of public policy lies exclusively with the federal government? a. welfare policy b. criminal policy c. foreign policy d. education policy
Somebody please help quickly !! 80 point!!
Jenny walked 2.5 miles in 50 minutes. At this rate, how many minutes did it take her to walk 1 miles?
This waxy coating is which of the following types of organic molecule
(d-15)^2 T= _______ + 20          300 The average temperature around the Tropic of Cancer for a particular day in January can be mo
A baseball with a mass of 300 g has a kinetic energy of 304 J. Calculate the speed of the baseball
This waxy coating is which of the following types of organic molecule
What separates North Korea and South Korea
Subtract. Express your answer in lowest terms. 15/19 - 7/19 ( 10 POINTS TO THE PERSON WHO ANSWERS THIS FIRST AND CORRECTLY )