I have a data set in .txt format and want to do some arithmetic operation on the data set using C code. How to do the job? I want to make the text data into a 2D-array. The data set is like this:
1st col - year, 2nd col-January rainfall, 3rd col-Feb rainfall, 4th col-March rainfall
Year J F M
1976 9.7 10.2 4.9
1977 15 3.4 3