Hi
I need help on this please.I have to write a void function that reads data from the following file:5 2 2 670.60
6 4 2 890.80
2 2 0 220.00
10 8 1 1340.60
10 4 3 1430.70
4 0 0 460.30
5 3 1 700.00
7 5 2 1100.80
3 1 0 340.80.
and then do some math on it,but I am struggling to get the function to read the data line by line,it is reading only the last line.
Please if you can help,I will appreciate it!