Click here to Skip to main content
15,890,372 members
Please Sign up or sign in to vote.
1.00/5 (8 votes)
See more:
Given n points, how can I find how many different lines can be drawn through these points?

Thanks
Posted

This is "Quick Answers", not "Do My Homework For Me".
 
Share this answer
 
Ever heard of google? You can find all manner of homework answers there.
 
Share this answer
 
If do you mean how many lines connecting any two of them, then the answer is know: n(n-1)/2. Could you please be more specific?
:)
 
Share this answer
 
v2
Even though I don't like to do someone else homework, I would ask you a detailed example of what you're trying to achieve, and show us what have you tried.
 
Share this answer
 
Not just 2 , at least 2. It can connect all of them ( if the points are collinear).
 
Share this answer
 
I kindly ask you not to spam. If you can help me, please do, otherwise don't write any answers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900