Home‎ > ‎Assignments‎ > ‎

New York City Address Locator

Write a function that will find the cross-streets for an address in Manhattan.  For background to this problem, see the Wikipedia article.  The following NYT (Jan. 19, 1997) article presents a relatively simple algorithm.  Your main() function should just test the function with an address entered from the keyboard and the resulting cross-streets displayed in the console window.

Linda Weiser Friedman,
Feb 26, 2015, 9:47 AM