Challenge: Write a program that determines how from New York any client is. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Challenge: Write a program that determines how from New York any client is.

Your program should define the constant location of New York and take the location of the user and output the distance. Any language welcome.

25th Sep 2017, 12:15 AM
James Smith
James Smith - avatar
6 Answers
+ 3
easy js navigator object! fetch a location and put it through an if statement to check whether it's in the range or not
25th Sep 2017, 12:57 AM
Ali Sawari
Ali Sawari - avatar
+ 2
you Don't even need a server for this
25th Sep 2017, 12:58 AM
Ali Sawari
Ali Sawari - avatar
+ 2
you're requesting something , what's the reward ? :))
25th Sep 2017, 2:16 PM
Ali Sawari
Ali Sawari - avatar
+ 2
just kidding , I'll try to do it , if I make any time
25th Sep 2017, 2:16 PM
Ali Sawari
Ali Sawari - avatar
0
Nice. But where is the program?
25th Sep 2017, 11:31 AM
James Smith
James Smith - avatar
0
Lol. No man. No worries, take your time.
26th Sep 2017, 10:23 AM
James Smith
James Smith - avatar