+ 1
what's iteration
2 Answers
+ 2
when a process or a code segment is repeatedly executed for a specified number of times, it is called iteration. example, for loop
+ 1
Everytime you go through a loop.
for(int i = 0; i < 5; i++)
cout << i << endl;
goes through 5 iterations.