CBSE BOARD X, asked by rajashende, 1 year ago

name the loop which is used when the number of iterations are known in advance

Answers

Answered by senmausumi
2

Count Loops


These are loops that everyone seems to love. People love them so much that they try to use them inappropriately. The only time to use a count loop is when the program can determine ahead of time how many times the loop will repeat. This is not always possible. There are generally two ways that the number of repetitions of a loop will be know ahead of time:


1.The loop always repeats the same number of times.

2.The program calculates the number of repetitions based upon user input.


senmausumi: Is it right
Similar questions