Announcements

7/11/99


Click here to start


Table of Contents

Announcements

Some Issues

Scheduling

Today�s Topics

Review

Iterate

Why do we like Iteration?

Recall: Java Syntax

Example trace

Whole program version:

Invariants

Does the Invariant Hold?

Another algorithm -- same problem

Another Example

Third Example

Third example continued. . .

Fourth Example

Fourth example continued. . .

The for statement

Diagram of a for loop

The break statement

The continue statement

Author: millett

Email: millett@cs.cornell.edu

Home Page: http://www.cs.cornell.edu/cs100-su99/

Other information:
CS 100 Summer 1999 Lecture Notes