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

Would you mind helping me please.
is -3(4x+5) equal to -7(8x+9)
Someone help me!! I’m not sure how to do this
Margaret is solving the linear equation 3(x+4)=42 . As she was solving, she took the equation 3(x+4)=42 , performed an algebraic operation and ended up with 3x+
4% of an unknown number is 5. what is the unknown number
PLEASE HELPPP AND EXPLAIN Maggie is taking out a student loan for $2,600. She plans on paying off the loan in 3 years. At the end of 3 years, Maggie will have
Given the function defined in the table below find the average rate of change
Read the passage and answer the question that follows. Chief Joseph's Surrender Speech, October 5, 1877 by Chief Joseph Tell General Howard I know his heart. Wh
Practice Use the slope formula to find the slope. 12 (0,3) 113, 1) 11-4, -3) Slope of lineli Slope of line 12 Questions have about this lesson 1
50 POINTS ANSWER (correctly) QUICKLY What is included in George Washington's Farewell Address? A. a warning to avoid doing any business with foreign nations B.