Project: Finding Your Way
The assignment text: pdf html
The neighboring states.
You can find this information on any map of the USA. However, for your convenience, that data is provided in this file of neighbors. It is up to you to figure out how to enter this information into your program. Brute force data definitions within the program provides the simplest and acceptable approach.
Again, this information can be found on any map that includes the latitude and longitude lines.
Alternately, a number of online resources provide the formula for computing the land distances between two points on the earth, given their latitude and longitude.
Of course, both of these methods of computation require complicated computations and do not contribute to our understanding of the program design. So, the next possiility is to measure the distance as the distance between two points that we display when we represent the cities as dots in our graphics window.
Finally, if your program does not include a visual representation of the map, the following approximation will give you realistic distances between any two cities in the 48 US states:
Due Date: Wednesday, April 18, 2007 at 8:00 pm.