Template:Computer Programming/Control/10
Jump to navigation
Jump to search
Loop with condition in the middle[edit source]
Sometimes you need to first make a calculation and exit the loop when a certain criterion is met. However when the criterion is not met there is something else to be done. Hence you need a loop where the exit condition is in the middle.