Jonathan Landrum ed924047af Update README.md 10 년 전
..
README.md ed924047af Update README.md 10 년 전
colinear.c ed26f484b0 Cleaning house (moving to directories) 10 년 전

README.md

Colinear

This program determines if three points on the cartesian plane are colinear. It takes six values as command line arguments, and it arranges these as ordered pairs like so:

argv[1] = x1
argv[2] = y1
argv[3] = x2
argv[4] = y2
argv[5] = x3
argv[6] = y3

It then creates three separate point-slope forms of a linear equation using the three points to make three slopes, and it compares these slopes to see if they are equal. If so, the three points are colinear.