Abstract
We have been using loops in previous programs without examining them closely. These important creatures really deserve a chapter of their own. Loops can be nested inside of each other, and, when teamed with conditional logic, can make your program fold into itself like an Escher design. We will use loops to illustrate the Monte Carlo Method which essentially consists of keeping score while the computer performs a task over and over again.
Preview
Unable to display preview. Download preview PDF.
Copyright information
© Birkhäuser Boston, Inc. 1983