Adding this because it took literally an hour of searching before I found a code sample using fscanf that read more than just the first line of a file.
This code assumes you're reading a file line by line that has the angle (int) followed by the Sine Value of that angle (double);