CS 117 Programming Examples

  1. From class 1/22/96. Here is my version of the word length program using no procedures: wordLengths.p. Here's another version, using procedures: wordsWithProcs.p.
  2. From class 1/29/96. selection.p
  3. From class 3/1/96. Programs using text files for input (inputFiles.p) and output (outputFiles.p)
  4. For use in final projects. If you want to respond to a keystroke immediately, without waiting for the user to hit the ENTER key, the program keytest.p might help you.




Jeff Ondich, Department of Mathematics and Computer Science, Carleton College, Northfield, MN 55057
(507) 663-4364, jondich@carleton.edu