CMPU-235: Software Development Methodology

Homework #2

Due: Wednesday, Sept. 27

Modify both versions of your programs from Homework 1 as follows:

Note: Keep in mind that the easiest way to sort a list is as you read in values (i.e. to do an insertion sort on each element as it is added to the list). For arrays, on the other hand, the easiest way to sort is to read in all the values and then sort the whole thing. Think about how this affects your main program and your goal of making the two main programs as similar as possible.

The homeworks will be graded based on style, documentation, functionality, design, and the similarity of the data-structure independant portions.