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

Explain why producers have a big incentive to use cost-benefit analysis and other tools of financial management.
Evaluate. 3^−1⋅(4⋅6)⋅2^−3 Enter your answer in the box. please help!!
Please help!! 10 points available!
insert parentheses to make each statement true
Without air resistance, all objects, regardless of their size and mass, experience the same acceleration of gravity. a. True b. False submit arrow_backprevious
The sum of two numbers is 6 and their difference is -4, what are the two numbers?
explain how this idea of being “star-crossed” relates to both Romeo and Juliet AND Oedipus the King.
Which word creates the most dangerous feeling? (5 points) Brawl Commotion Ruckus Play
Which indirect object pronoun correctly completes this conversation? Rénée: Est-ce que vous aimez ce miroir? Pauline et Marc: Oui, ce miroir ___________ plaît b
Which statement is true of both Mr. Shiftlet and Mrs. Crater? A.They believe that Lucynell will not find a husband. B.They use Lucynell to get what they want. C