Advertisement

Loops in Loops in Loops…

  • Donald KahnJr.
  • Nevin B. Scrimshaw
Chapter
  • 19 Downloads

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.

Unable to display preview. Download preview PDF.

Copyright information

© Birkhäuser Boston, Inc. 1983

Authors and Affiliations

  • Donald KahnJr.
  • Nevin B. Scrimshaw

There are no affiliations available

Personalised recommendations