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

For the reaction 2Fe + 3Cl2 → 2FeCl3 which of the following options gives the correct reactant:reactant ratio? A. Fe:Cl2 = 1:1 B. Fe:Cl2 = 2:3 C. Fe:Cl2 = 3:2
20 cubic inches of a gas with an absolute pressure of 5 psi is compressed until its pressure reaches 10 psi. What's the new volume of the gas? (Assume that ther
The increasing price of land in the United States has resulted in an increase in the __________. A. number of small farms B. size of small farms C. number of la
I think its the 3rd one am i correct?
Why did john wilkes booth want to keep slavery?
A balanced chemical equation must have the same number of which of these on both sides of the equation? A) atoms B) reactants C) molecules D) compounds
You may encounter many situations in life that make you feel uncomfortable. The first tool you can use in fostering resistance skills is _______. A. using
Which terms describe Canada's climate A.artic B.continental C.subarctic D.temperate
Is mandarin chinese simplified or traditional?
According to the proclamation of 1763 at the end of the French and Indian war what happened