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

Why in harry potter is harry always be teased by snake
seven and thirty twp hundreths plus two and one tenth times two and seven tenths minus 18a
15) The increase in consumer spending during the 1920s was fueled in part by
How did the british try starve the germans throughout the war?
I have a question about the application of definite integrals. I came up with the following integral:[tex] \int\limits^5_0 {62.5 * 6 * 2 * x} \, dx [/tex] This
If a person is tested positive for Gonorrhea, it is okay for him/her to continue engaging in
What is the role of tRNA during translation? a. It translates from amino acids to nucleic acids. b. It moves the codons into a chain. c. It moves the amino acid
If matrix A is a 6 × 5 matrix, which order of matrix can be multiplied by matrix A?
Which statement best expresses the theme of the story?oh the monkey's paw
kendra flips a coin 3 times what is the probability that she flips tails all 3 times