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 true. The for loop is used when the developer knows how many times to perform the loop.  For example, he needs to print the ascii...

Read More