I've only been learning c for a week or two and i'm currently doing an assignment to find the line of best fit for a number of user set co-ordinates.

i am having trouble setting up a function to sum one of the columns of a two column array. especially what arguments i'm meant to use.

any help would be GREATLY appreciated

Pete