Computer Science 120
Introduction to Programming

Fall 2011, Siena College

Lecture 16: Arrays
Date: Thursday, March 24, 2011

Agenda

Lecture Assignment 16

Due at the start of class, Tuesday, March 29.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT siena.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CS 120 Lecture Assignment 16, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

  1. Rewrite the loops in the Knitting example using for loops instead of while loops.

Examples