explain the type of iteration
please guys answer this I have to submit in 3o minute please guys please don't ignore
Answers
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
Answer:
two types of iteration....
- count-controlled loops
- 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.