Computer Science, asked by vanyaahuja1810, 7 months ago

explain the type of iteration



please guys answer this I have to submit in 3o minute please guys please don't ignore​

Answers

Answered by keyamotani
0

Answer:

There are two types of iteration: Count-controlled loops – used for iterating steps a specific number of times. It is used when the number of iterations to take place is already known. It uses a counter to keep track of how many times the set of commands has been repeated.

please mark me as brainliest

Answered by ashokpandey05081982
0

Answer:

two types of iteration....

  1. count-controlled loops
  2. conditions-controlled loops

Explanation:

1. count-controlled loops:- used for iteration steps specific number of times.it is used when the number of iteration to take place is already known.it uses a counters to keep track of how many times the set of command has been.

2. condition- controlled loops:- used for iterating steps continuously until a condition is meet.it is used when the number of iteration to take place is unknown.the algorithm tests the condition to see if it true. if true the algorithm executer a command.if false,the algorithm goes back to step 1 and will continue to go back until the condition became true.

Similar questions