What is the difference between Recursion and Iteration?
A recursive function works through the process of calling itself until a condition is met.
e.g. While creating fibonacci series or
calculating multiple of a number
We simply call the function repeatedly.
Iteration uses a looping control structure (while, do while, for) to repeat a section of code until a condition is met.
Frankly, Anything done in one style of looping, can be done in the other.