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

Please Help!!! Very apreciated
Hi can someone solve the inequalities?8y - 5 < 33p + 2 > -10-2 > m/6 -7​
U Question 4 1 pts (05.02 MC) What is the molar mass of magnesium carbonate, MgCO3? ton 52314 g/mol O 84.313 g/mol o 96.771 g/mol 102.588 g/mol N
Which of the following is a correctly named cell? *.
Identify the asymptotes of the graph. x= -2, y = -1 x= -1, y = 2 x = 1, y = -2 x = 2, y = 1
Mary is using a one-sample t-test on the following group:Subject #15: 7.5 hoursSubject #27: 6 hoursSubject #48: 7 hoursSubject #80: 6.5 hoursSubject #91: 7.5 ho
PLEASE HELP Select the correct answer from each drop-down menu. Complete the following sentence using the most appropriate words. is/are used to determine age a
What are some similarities between the hobbit and the hunger games novels?
What changes were wanted during the Mexican revolution
electric guitar Frying Pan the Log steel guitar acoustic guitar What is the best topic to group these words under?