Shreyans13 / Hacktoberfest-2019

Hacktoberfest is a month-long virtual festival event to celebrate open source contributions presented by Digital Ocean and DEV. It is the easiest way to get into open source!
https://hacktoberfest.digitalocean.com/
10 stars 37 forks source link

Create line segment intersection #49

Closed AurumnPegasus closed 4 years ago

AurumnPegasus commented 4 years ago

If we were to input 8 co ordinates in the form of A(x1 y1) B(x2 y2) C(x3 y3) D(x4 y4) we need to find the line segment joining A to B and C to D intersect or not