collinear points - Collinear Points - Free Source Code

Collinear Points – Free Source Code

Posted on

collinear points - Collinear Points - Free Source Code

This program will print whether or not the three factors of Cartesian Coordinate System (x,y) is collinear or not.

I shaped a 3×3 matrix after which calculated the determinant. If determinant is zero these three factors are collinear in any other case not.