The purpose of computing is to automate calculation. But running the code we have written so far has been pretty straightforward - in fact it would probably be faster to do the calculation by hand rather than coding it! Loops enable us to use the speed of computers to achieve truly large scale computations, writing a little bit of code that covers many calculations. Here, we cover for loops, while loops, and do-while loops, examine how they break and continue, and further explore the concept of scope.
Lectures developed for [CSE2] were developed by Brian Chen, Brian Davison, and Edwin Kay. Lectures may be used for other courses by permission only (Contact Brian Chen).