About this document
Line Equation from Two Points in C by pontas97 is a document available to read on EtoBox.
The program takes in the x and y coordinates of two points in a 2D plane from the user. It then calculates the slope and y-intercept of the line passing through those two points. Finally, it prints out the equation of the line in the form y=mx+c, where m is the slope and c is the y-intercept.
- Author
- pontas97
- Language
- EN