~Fundamental Product Programming Skills (Iterators and For-loops)~
In computer science, a for-loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly.

In this Process Flowchart, showing an iteration, the process a for-loop goes through is presented. Once initialization happens, the condition is checked. If the current condition fits within the for-loop's specifications then whatever the loop scheduled to happen will happen. It is again checked to see if it remains true, if true the scheduled instructions continue. In the event that a condition is no longer true, the for-loop stops until it is again initialized.
In the event where a condition can never be false, you create a infinite loop.



Comments