While Loops

While decisions give computers their "intellectual" abilities, loops give them their usefulness. The ability to repeat something over and over for dozens, hundreds, or even millions of times ensures that computer programs can perform tasks that are quite complex in a fraction of the time it takes us humans. The while loop is the fundamental approach to repetitive sequences.


Source: Cave of Programming, https://www.youtube.com/watch?v=qIjwy7MWeA8
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Last modified: Monday, March 11, 2024, 10:50 AM