CMSC 10600 Fundamentals of Computer Programming 2
Winter 2002 --- N. Russo and S. Salveter

Homework 3

Due Friday 1 February 2002

This assignment exercises your knowledge of 2D arrays, loops, functions, problem decomposition and program modularity. Be sure you choose nice variable names, indent properly, and use lots of comments. Pay careful attention to how you pass arguments to functions. (By value? By reference? As a const parameter?)

Turn in your program in the usual way, as described in Instructions for Handing in Assignments.

The Game of Life

The zoo in FOOland has a prize-winning collection of green fuzzies, who live on an 8 x 8 chessboard. Each cell holds at most one fuzzy. Visitors come from miles around to watch the fuzzies because every generation the population changes:

Write a program that:

Hints & Comments: