The Two General Loops

There are two general loops, the while loop and the for loop.  There are variations on how the loops are implemented in different languages but the developer usually have two scenarios:  he knows how many times to loop or he needs to loop until a condition becomes...