Incomplete C code for lab2. This code has errors in it but you can use it as a starting point if you want.
Data file for Assignment 1, Question 1.