Question: iii. Use point 1 and point 2 s Distance method to find the distance from each point to the user s location. Notice we are

iii. Use point1 and point2s Distance method to find the distance from each point to the users location. Notice we are passing in the users point rather than the separate coordinates:
distanceToABQ = ABQ.Distance(pointUser.Point)
distanceToLC = LC.Distance(pointUser.Point)
iv. Tell the user which point they are closest to in this format:
You are closest to which is located at
v. Ask Do another (y/n)? and loop if they respond with y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!