I am trying to get my program to read a file. The file looks like:
15
63.4
66.1
67.2
58.5
61.9
68.2
65.3
70.0
72.9
71.8
70.1
70.3
69.5
66.1
70.8
5
56.5
57.1
55.0
58.0
66.2
and continues.
I can get my program to read the first 15 numbers, but nothing afterwards. I don't know how to make my program read every new header. I used a for loop to read the first 15 numbers. I tried to use a nested for loop to read all of the other numbers, but it is not working right. Can anyone please assist?