I need hlep to create a little algorithm that would help to determine next location of a car.
Let's say I have Car 1 and Car 2.
If Car 1 Car and Car 2 leaves from point A and Car 1 goes to address 123 VB Street and Car 2 goes to 456 Csharp Road,
If there is one more address to go, I need a way to know wich car should go (less distance)
and it goes like this... if there were 2 more address... need to check again etc....
same thing for more cars... (lets start with 2 maybe...)
Can you help me??