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 two letters represent elements that are in the same period
Which sentence best reflects a theme in The piece of String by Guy de maupassant
A bag of marbles comes with 3 blue marbles, 2 red marbles, and 5 yellow marbles. What is the ratio of red to yellow?
Your teacher asks you to find the themes that two stories have in common. What should be your first two steps? Read both stories at the same time--first a parag
2. Where did a majority of Europeans settle?​
What is the unit rate for 7/5 miles and 2/3 hours?
What territories and from what country did Britain get from the Treaty of Paris?
Suppose your mass is 72.5 kg and you climb 40 stairs of height 18 cm in 17.0 s. What is your power output as you climb the stairs?
Where were your internal organs is torrid after death in ancient Egypt
30 POINTS Would the following statement count as parallelism? We take the time to study ruins of ancient civilizations in history, so why don’t schools require