CS110: Week 6

10/20/99


Click here to start


Table of Contents

CS110: Week 6

Repetition or Iteration

While Loops

Infinite Loops

Repeat Loops

Definite Iteration--FOR statement

About For Loops

Reasoning About Correctness

Reasoning Example

Problems

Prime Number Function - Pex11F99.pas

Main Program - Pex11F99.pas

Portion of Logfile from Pex11F99.pas

Fibonnici Sequence - Pex12F99.pas

Log File after running Pex12F99.pas

Pex14F99.pas -- EOLN example

Pex14F99.pas -- EOLN example

Pex14F99.pas -- EOLN example

Log Files after running Pex14F99.pas

Author: Dr. L. R. Symes

Email: symes@cs.uregina.ca