Hi guys, I'm very new to C programming and am trying to learn because I'm in molecular biology (x-ray crystallography) and being able to write simple programs is very useful for me.
here's the question:
I want to write a program that reads in a file having two columns of numbers. it will save each column of numbers in a separate array and then perform a math operation on the two paired numbers per row i.e. the data is:
it would read this file save the numbers in arrays and perform a math operation for each pair (i.e 2 1, 3 4, 2 5).
Once the operation is comuted it will write two new numbers from the math operations out into a new file.
Thanks for any help in advance.