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 of the following was a direct response to the king’s continued accumulation of soldiers? a. The National Guard c. The National Declaration b. The National
Which are characteristics of trade in ancient Egypt? Choose all answers that are correct. A. Egypt had its own silver and gem mining. B. Traders came and went u
Each leg of a 45-45-90 triangle has a length of 6 units. What is the length of its hypotenuse?
You are working at establishing a computer network and communications support for incident personnel. Where are you working? a. Operations Section b. Planning S
how many times is 5 bigger than 0.5?
A criticism of the American system of federalism is that it is
Who is W. E. B. Du Bois?
Explain why an addition problem that has a 4-digit addends could have a 5 digit sum.
Which of the following is NOT an example of a liquid asset? a. cash c. a certificate of deposit b. travelers’ checks d. a checking account
David made 30 cups of tea per hour. Andrew made 35 cups of coffee per hour. This week David made an additional 10 cups of tea. Write an expression that represen