hi i am relatively new to this and i have to create a least square fit program which will read x and y values from a data file (XandY.txt), there is 20 x and y values each. and i have to read them from the file, then input them into formulas that will add up the x and y values separately to give me a total for each.
after that i need to put these totals into two more formulae to get my final results.
im just having a lot of trouble getting it started so i would really appreciate some help