+ 2

What us iteration in programming?

I've been coming accross this term while learning and i cant seem to understand it, someone pkease explain this to me.

15th Dec 2019, 1:16 PM
Alfred Juma
Alfred Juma - avatar
3 Answers
+ 3
It's weird that you are asking this after completing Javascript tutorial. "Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes." Ā¹ src Ā¹:https://en.m.wikipedia.org/wiki/Iteration example : 1.you iterate over an array to print all it's element. 2.Use loop to iterate ,repeat some lines of code and print numbers in some range (1,2,3,4....9) etc.
15th Dec 2019, 1:33 PM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 2
Really helpfull guys, i had the same in mind but i needed to be sure šŸ™šŸ™. Happy coding šŸ˜‰
15th Dec 2019, 6:38 PM
Alfred Juma
Alfred Juma - avatar