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

12x+3=15x solve for x
Cats have a gene that codes for the color of their fur. Suppose that a certain breed of cat can have black, gray, or white fur. Black fur is dominant, white fur
How many cloud types there is?
A neutral atom contains 12 neutrons and 11 electrons. The number of protons in this atom is (1) 1 (3) 12 (2) 11 (4) 23
PLZ HELP ME and tell me how to get to my answer. What is the mean absolute deviation for the data? 30, 35, 35, 40, 55 A. 5 B. 6.4 C. 6.8 D. 25
Which nuclear decay emission consists of energy, only? (1) alpha particle (3) gamma radiation (2) beta particle (4) positron
At STP, which sample contains the same number of molecules as 11.2 liters of CO2(g) at STP? (1) 5.6 L of NO2(g) (3) 11.2 L of N2(g) (2) 7.5 L of H2(g) (4) 22.4
The total mass of the protons in an atom of gold-198 is approximately (1) 79 atomic mass units (2) 119 atomic mass units (3) 198 atomic mass units (4) 277 atomi
Solve: 2a-3b=52a−3b=5 a+b=10
What is the volume of a cone that has a height of 7 mm and a radius of 3 mm? Use 3.14 to approximate pi and express your answer in hundredths. mm3