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

what are the effects of global warming
How did geography influence the way the Incas ruled the empire?
plz helpp with this french hw!
Antonio sold a hat for $18. His wholesale cost was $8. What was the percent markup?
What is 3/50 as a decimal And show work
What does this mean?The levying money for or to use of the crown by pretense of prerogative,without grant of parliament, for long time, or in other manner than
Antonio sold a hat for $18. His wholesale cost was $8. What was the percent markup?
A plane flies round-trip to Philadelphia. If flies to Philadelphia at 220 miles per hour and back home with a tailwind at 280 miles per hour. If the total trip
A cross-country automobile rally is 1,025 kilometers long. At a stopping place the letter had traveled 867 kilometers. How far away was finish line
There were 149 angelfish and goldfish in an aquarium.  There were twice as many guppies as angelfish.  After selling 35 goldfish there are half as many goldfish