Computer Science, asked by victoriavaughan, 4 months ago

In a(n) __________________ loop, you do not know ahead of time how many times the loop will repeat. count variable initialization condition user input

Answers

Answered by Chaitanya1696
0

We are required to identify the loop in which we don't know ahead of time how many times the loop will repeat. The name of the loop that has to be filled in the gap will be identified as the " While" loop.

  • The loops that are used in the computer language can be classified into two types.
  • One type of loop is called the definite loop by which we come to know how many times the loop will repeat.
  • The second type of loop is the indefinite type in which we will not come to know ahead of how many times the loop will rotate.
  • Out of the indefinite types of loops, one loop is called the While loop.
  • Until a condition is satisfied, a "While" Loop is used to repeatedly run a certain block of code.
  • When asking a user for a number between 1 and 10, for instance, we don't know how many times the user might enter a larger number and so for this we will have to use a 'while ' loop.
  • Therefore, The name of the loop that has to be filled in the gap will be identified as the " While" loop.

#SPJ1

For similar questions refer to:

https://brainly.in/question/2294786

https://brainly.in/question/16086293

Similar questions