while
loops are best suited for a section of code that you want to execute while some condition is true. This is in contrast to a for
loop which is usually used when you want to execute the loop a fixed number of times.AbstractionAnon wrote: |
---|
Enter an EOF character on the keyboard (ctrl-C on windows). |