Hey guys, just wondering if anyone could help me out - it would be greatly appreciated!

Basically, I need to write a C program which will take data from a text file and be able to manipulate it to give an answer.

There are 3 text files, each containing 10 numbers. The user will choose the text file, and then the 10 values within that will be put into an array i assume? From there each value will be put into a small formula to give 10 new values. Then all 10 new values will be put into a final formula (simpson's rule for iteration) to give one final value.

I am at a loss as to how to go about doing this!

Any help or pointers would be greatly appreciated! Thank you