C Program to implement Linear regression algorithm.
Linear Regression is the predicting the value of one scalar variable(y) using the explanatory another variable(x). Linear regression is represented by the equation Y = a + bX, where X is the explanatory variable and Y is the scalar variable. The slope of the line is b, and a is the intercept. For linear list …