Overview of Iterative Functions

What is Iteration?

Iteration means repeating some steps to achieve the desired outcome. In computer programming, iteration processes usually involve a mechanism, including loops.

As we learn about recursion, it is also important to have an overview of iteration.

Format of an Iterative Function

Each iterative function consists of a loop and a conditional statement that determines whether to continue iteration or to stop further execution.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.