Computer Science, asked by lariya9346, 1 year ago

Difference between count controlled and condition controlled iteration

Answers

Answered by np352669
9

count controlled                                          

1. it uses a counter to keep track of how many times the algorithm has iterated.

2.Sometimes it is necessary for steps to iterate a specific number of times.

condition controlled iteration

1.A condition-controlled loop is so called because iteration continues while, or until, a condition is met.

2.Steps that are part of the loop are indented. Indentation is used to show which steps are to be iterated.

Similar questions