Find the intersection of two lines: Difference between revisions
m
→{{header|C}}: Remove vanity tags
Thundergnat (talk | contribs) m (→{{header|Ring}}: Remove vanity tags) |
Thundergnat (talk | contribs) m (→{{header|C}}: Remove vanity tags) |
||
Line 123:
This implementation is generic and considers any two lines in the XY plane and not just the specified example. Usage is printed on incorrect invocation.
<lang C>
#include<stdlib.h>
#include<stdio.h>
Line 221 ⟶ 219:
Point of intersection : (5.000000,5.000000)
</pre>
=={{header|C sharp}}==
<lang csharp>using System;
|