reset password
Author Message
jpascua
Posts: 197
Posted 18:25 Jun 11, 2015 |

Sorry, I'm asking again in regards to the homework requirements:

Search for airports within a user-specified distance of a single zipcode.

What is meant by "user-specified distance"?

ytsai8
Posts: 47
Posted 18:36 Jun 11, 2015 |

it means you need to prompt the user for a radius

that is used to measured from the coordinate of the city

that they provide the zip code.

So if user input ZipCode as 12345 and radius 20miles, you need to display all airports that is within the range, in other words, covered by a circle drawn with the specific radius. 

Keep in mind, earth is not flat like the Professor said, research a bit on great circle distance and apply to your app

jpascua
Posts: 197
Posted 18:58 Jun 11, 2015 |

Thank you!