Discussion 2-2

Today we went over Midterm 1. The comments / code fragments are in two files. midterm.cpp has most of the solutions we discussed, and midterm_4c.cpp has the solution to problem 4c since that one required a standalone program.