/** * Determine nearest cross street for an avenue in Manhattan * To determine the cross street, cancel the last digit * of the address, divide by 2, and add or subtract the * number given in the following (abbreviated) table: * ____________________________ * 1st Ave Add 3 * 2nd Ave Add 3 * 3rd AVe Add 10 * 4th Ave Add 8 * 5th Ave up to 200 Add 13 * 5th AVe up to 400 Add 16 * 6th Ave Subtract 12 * 7th Ave Add 12 * 8th Ave Add 10 * 10th Ave Add 14 * For example, 866 3rd Avenue is nearest to 53rd Street, * whereas the nearest cross street to 866 2nd Avenue is 46th Street * * Prompt the user to enter an address * * Prompt the user to enter an avenue * * Output the nearest cross street **/ public class CrossStreet { public static void main(String[] args { } }